]> The Tcpdump Group git mirrors - tcpdump/commitdiff
fix a few compiler warnings about prototypes
authorDenis Ovsienko <[email protected]>
Thu, 2 Jan 2014 11:40:02 +0000 (15:40 +0400)
committerDenis Ovsienko <[email protected]>
Thu, 2 Jan 2014 12:27:14 +0000 (16:27 +0400)
print-ascii.c needs prototypes of ascii_print(),
hex_and_ascii_print_with_offset() and hex_and_ascii_print().

print-icmp6.c needs prototypes of in_cksum_shouldbe() and ns_nprint().

print-ascii.c
print-icmp6.c

index c672ca8cdeb3e7af6fd1cfb57e5930da02d6555a..ba788ec5d2f60f8e41825866033c030bb03bbdb7 100644 (file)
@@ -48,6 +48,7 @@ static const char rcsid[] _U_ =
 #include <stdio.h>
 
 #include "netdissect.h"
+#include "interface.h"
 
 #define ASCII_LINELENGTH 300
 #define HEXDUMP_BYTES_PER_LINE 16
index 9369297e13994efffcc78098eca376e4d54ffcd0..7f1ce10eb86db22dbf42801b3a6b150976d2ab81 100644 (file)
@@ -36,6 +36,7 @@ static const char rcsid[] _U_ =
 #include <string.h>
 
 #include "netdissect.h"
+#include "interface.h"
 #include "addrtoname.h"
 #include "extract.h"