summaryrefslogtreecommitdiff
path: root/print-ascii.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-01-02 15:40:02 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-01-02 16:27:14 +0400
commit0b7b6192c678d7747dc3fcb96347d6ca5fc475cd (patch)
treead59093f7d88e37861be59795a94ccee218659e7 /print-ascii.c
parentad7a38341c19e71e3595c17368ac18f08b71482d (diff)
downloadtcpdump-0b7b6192c678d7747dc3fcb96347d6ca5fc475cd.tar.gz
fix a few compiler warnings about prototypes
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().
Diffstat (limited to 'print-ascii.c')
-rw-r--r--print-ascii.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/print-ascii.c b/print-ascii.c
index c672ca8c..ba788ec5 100644
--- a/print-ascii.c
+++ b/print-ascii.c
@@ -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