summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/refcnt.h
diff options
context:
space:
mode:
authorAlessandro Salvatori2010-07-05 12:01:23 +0200
committerMichael Brown2010-07-05 12:01:23 +0200
commit3cefc5a3e0126c65f24475a3eba19b7248fc02bf (patch)
treeb5fc3d9608b34d06c506a289431caaa2f40ac719 /src/include/ipxe/refcnt.h
parent[pcnet32] Fix uninitialised variable (diff)
downloadipxe-3cefc5a3e0126c65f24475a3eba19b7248fc02bf.tar.gz
ipxe-3cefc5a3e0126c65f24475a3eba19b7248fc02bf.tar.xz
ipxe-3cefc5a3e0126c65f24475a3eba19b7248fc02bf.zip
[refcnt] Fix embedded image building
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/refcnt.h')
-rw-r--r--src/include/ipxe/refcnt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/refcnt.h b/src/include/ipxe/refcnt.h
index 37f574dcc..49fce5044 100644
--- a/src/include/ipxe/refcnt.h
+++ b/src/include/ipxe/refcnt.h
@@ -69,10 +69,10 @@ ref_init ( struct refcnt *refcnt,
/**
* Initialise a static reference counter
*
- * @v free Free containing object
+ * @v free_fn Free containing object
*/
-#define REF_INIT( free ) { \
- .free = free, \
+#define REF_INIT( free_fn ) { \
+ .free = free_fn, \
}
extern struct refcnt * ref_get ( struct refcnt *refcnt );