瀏覽代碼

[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 年之前
父節點
當前提交
3cefc5a3e0
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      src/include/ipxe/refcnt.h

+ 3
- 3
src/include/ipxe/refcnt.h 查看文件

@@ -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…
取消
儲存