X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/9d046ee0503d4c8cbfcb200c88986de876f6cae7..9fcec3cada18c2523fb0589a0239ecfc7f586c90:/netdissect-alloc.c diff --git a/netdissect-alloc.c b/netdissect-alloc.c index bbae56ee..a73c77f8 100644 --- a/netdissect-alloc.c +++ b/netdissect-alloc.c @@ -14,19 +14,19 @@ * FOR A PARTICULAR PURPOSE. */ -#ifdef HAVE_CONFIG_H #include -#endif #include #include "netdissect-alloc.h" +static void nd_add_alloc_list(netdissect_options *, nd_mem_chunk_t *); + /* * nd_free_all() is intended to be used after a packet printing */ /* Add a memory chunk in allocation linked list */ -void +static void nd_add_alloc_list(netdissect_options *ndo, nd_mem_chunk_t *chunkp) { if (ndo->ndo_last_mem_p == NULL) /* first memory allocation */