]> The Tcpdump Group git mirrors - tcpdump/commitdiff
On some platforms we appear to get a warning because dnsname_print() is
authorGuy Harris <[email protected]>
Mon, 21 Sep 2009 17:16:14 +0000 (10:16 -0700)
committerGuy Harris <[email protected]>
Mon, 21 Sep 2009 17:16:14 +0000 (10:16 -0700)
declared static and later defined without static.  Define it with
static.

print-icmp6.c

index 2299801acb47bbe17078ad932bba50485ac97a61..4a7aa2d9ac82704f31c4e070be802c68bfc95af3 100644 (file)
@@ -863,7 +863,7 @@ trunc:
     return;
 }
 
     return;
 }
 
-void
+static void
 dnsname_print(const u_char *cp, const u_char *ep)
 {
        int i;
 dnsname_print(const u_char *cp, const u_char *ep)
 {
        int i;