aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/refcnt.h
diff options
context:
space:
mode:
authorJoshua Oreman <oremanj@rwcr.net>2009-11-25 17:27:50 -0800
committerMichael Brown <mcb30@ipxe.org>2010-06-23 00:34:48 +0100
commit719ba316dfc7c32f12375917301718af51509e5f (patch)
treef1d06dd58b69b9cbf1e6fc9d3e8243be84a199f6 /src/include/ipxe/refcnt.h
parentb707f15ecbd71e5d0f9eedafb389f2fdfeb95913 (diff)
downloadipxe-719ba316dfc7c32f12375917301718af51509e5f.tar.gz
[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>
Diffstat (limited to 'src/include/ipxe/refcnt.h')
-rw-r--r--src/include/ipxe/refcnt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/refcnt.h b/src/include/ipxe/refcnt.h
index f359ac9c1..37f574dcc 100644
--- a/src/include/ipxe/refcnt.h
+++ b/src/include/ipxe/refcnt.h
@@ -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 */