X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Ftalloc%2Ftalloc.c;h=d3e2065d36f3b5e34008fa5d075f587245c58c1a;hp=f2335410eac65a812c50103b957daa1a522cdc05;hb=1abc62990a5817de56a55470fb2c62e966134722;hpb=e25641dc14753cc070ecf50e10809ce3ce8b9ecd diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c index f233541..d3e2065 100644 --- a/lib/talloc/talloc.c +++ b/lib/talloc/talloc.c @@ -760,7 +760,7 @@ off_t talloc_total_blocks(const void *ptr) /* return the number of external references to a pointer */ -static int talloc_reference_count(const void *ptr) +int talloc_reference_count(const void *ptr) { struct talloc_chunk *tc = talloc_chunk_from_ptr(ptr); struct talloc_reference_handle *h;