Browse Source

[refcnt] Fix embedded image building

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Alessandro Salvatori 14 years ago
parent
commit
3cefc5a3e0
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/include/ipxe/refcnt.h

+ 3
- 3
src/include/ipxe/refcnt.h View File

@@ -69,10 +69,10 @@ ref_init ( struct refcnt *refcnt,
69 69
 /**
70 70
  * Initialise a static reference counter
71 71
  *
72
- * @v free		Free containing object
72
+ * @v free_fn		Free containing object
73 73
  */
74
-#define REF_INIT( free ) {						\
75
-		.free = free,						\
74
+#define REF_INIT( free_fn ) {						\
75
+		.free = free_fn,					\
76 76
 	}
77 77
 
78 78
 extern struct refcnt * ref_get ( struct refcnt *refcnt );

Loading…
Cancel
Save