Pārlūkot izejas kodu

[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 gadus atpakaļ
vecāks
revīzija
3cefc5a3e0
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3
    3
      src/include/ipxe/refcnt.h

+ 3
- 3
src/include/ipxe/refcnt.h Parādīt failu

@@ -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 );

Notiek ielāde…
Atcelt
Saglabāt