From 80eb35c10f2e3b9d0dd639df403c889bbddf8d0f Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 3 Oct 2006 18:37:43 +0200 Subject: [PATCH] Moved the definition of `T_MAX'. --- src/dnstop.c | 1 - src/dnstop.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) 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); -- 2.30.2