[refcnt] Add ref_no_free handler

Since more reference-counted structures than embedded images might
want to mark themselves unfreeable, expose a dummy ref_no_free().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Joshua Oreman
2009-11-25 17:27:50 -08:00
committed by Michael Brown
parent b707f15ecb
commit 719ba316df
3 changed files with 14 additions and 11 deletions

View File

@@ -77,5 +77,6 @@ ref_init ( struct refcnt *refcnt,
extern struct refcnt * ref_get ( struct refcnt *refcnt );
extern void ref_put ( struct refcnt *refcnt );
extern void ref_no_free ( struct refcnt *refcnt );
#endif /* _IPXE_REFCNT_H */