From: Guy Harris Date: Mon, 21 Sep 2009 17:16:14 +0000 (-0700) Subject: On some platforms we appear to get a warning because dnsname_print() is X-Git-Tag: tcpdump-4.1.0~70 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/df3cb44f796813e6796e171b59326854c4704adb On some platforms we appear to get a warning because dnsname_print() is declared static and later defined without static. Define it with static. --- diff --git a/print-icmp6.c b/print-icmp6.c index 2299801a..4a7aa2d9 100644 --- a/print-icmp6.c +++ b/print-icmp6.c @@ -863,7 +863,7 @@ trunc: return; } -void +static void dnsname_print(const u_char *cp, const u_char *ep) { int i;