Ver código fonte

[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 anos atrás
pai
commit
3cefc5a3e0
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3
    3
      src/include/ipxe/refcnt.h

+ 3
- 3
src/include/ipxe/refcnt.h Ver arquivo

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

Carregando…
Cancelar
Salvar