]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect-alloc.c
Makefile.in: don't remove configure and config.h.in in make distclean.
[tcpdump] / netdissect-alloc.c
index 1a40b09c12556bfb050dac948545cdb6c9ca0495..c625d34ec3b0fec5f62c9bc64074dbc03d69aac7 100644 (file)
  * FOR A PARTICULAR PURPOSE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #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 */