From: Florian Forster Date: Tue, 3 Oct 2006 16:37:43 +0000 (+0200) Subject: Moved the definition of `T_MAX'. X-Git-Tag: collectd-3.11.0~42^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=80eb35c10f2e3b9d0dd639df403c889bbddf8d0f;p=collectd.git Moved the definition of `T_MAX'. --- diff --git a/src/dnstop.c b/src/dnstop.c index 93ad9bfd..ba70fd25 100644 --- a/src/dnstop.c +++ b/src/dnstop.c @@ -154,7 +154,6 @@ typedef int (printer)(const char *, ...); * flags/features for non-interactive mode */ -#define T_MAX 65536 #ifndef T_A6 #define T_A6 38 #endif diff --git a/src/dnstop.h b/src/dnstop.h index 3d3eb057..666140e3 100644 --- a/src/dnstop.h +++ b/src/dnstop.h @@ -31,6 +31,10 @@ * Florian octo Forster */ +#include +#include + +#define T_MAX 65536 extern int qtype_counts[T_MAX]; void handle_pcap (u_char * udata, const struct pcap_pkthdr *hdr, const u_char * pkt);