X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a53605c61b1615362347cebf0db7bb54a2ee6ac6..refs/pull/1034/head:/netdissect-alloc.c diff --git a/netdissect-alloc.c b/netdissect-alloc.c index 1a40b09c..c625d34e 100644 --- a/netdissect-alloc.c +++ b/netdissect-alloc.c @@ -14,15 +14,21 @@ * 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 */