diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-09-11 13:22:56 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-09-11 13:22:56 +0200 |
commit | f5fe14663d9ed32b7a995ed0924c04e705f74237 (patch) | |
tree | 11c4111a2660fbdc27800ae1bf2e8a513ee80ebc /missing | |
parent | 99c91c3aec40b691641374f58e798bd8d6b657bd (diff) | |
download | tcpdump-f5fe14663d9ed32b7a995ed0924c04e705f74237.tar.gz |
libnetdissect code must include 'netdissect.h', not 'interface.h'
Moreover:
Remove netdissect.h include in interface.h
Move thiszone declaration in netdissect.h
Update a comment
Diffstat (limited to 'missing')
-rw-r--r-- | missing/snprintf.c | 2 | ||||
-rw-r--r-- | missing/strdup.c | 2 | ||||
-rw-r--r-- | missing/strlcat.c | 2 | ||||
-rw-r--r-- | missing/strlcpy.c | 2 | ||||
-rw-r--r-- | missing/strsep.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/missing/snprintf.c b/missing/snprintf.c index 21d235d2..921b74c1 100644 --- a/missing/snprintf.c +++ b/missing/snprintf.c @@ -42,7 +42,7 @@ #include <ctype.h> #include <sys/types.h> -#include <interface.h> +#include "netdissect.h" enum format_flags { minus_flag = 1, diff --git a/missing/strdup.c b/missing/strdup.c index 9fca7529..9cbf35ae 100644 --- a/missing/strdup.c +++ b/missing/strdup.c @@ -35,7 +35,7 @@ #include <stdlib.h> #include <string.h> -#include "interface.h" +#include "netdissect.h" char * strdup(str) diff --git a/missing/strlcat.c b/missing/strlcat.c index a953034b..40549354 100644 --- a/missing/strlcat.c +++ b/missing/strlcat.c @@ -36,7 +36,7 @@ #include <string.h> -#include "interface.h" +#include "netdissect.h" /* * Appends src to string dst of size siz (unlike strncat, siz is the diff --git a/missing/strlcpy.c b/missing/strlcpy.c index 0999ba30..24dcca67 100644 --- a/missing/strlcpy.c +++ b/missing/strlcpy.c @@ -36,7 +36,7 @@ #include <string.h> -#include "interface.h" +#include "netdissect.h" /* * Copy src to string dst of size siz. At most siz-1 characters diff --git a/missing/strsep.c b/missing/strsep.c index 91ef72f6..2c17275f 100644 --- a/missing/strsep.c +++ b/missing/strsep.c @@ -39,7 +39,7 @@ #include <string.h> -#include "interface.h" +#include "netdissect.h" /* * Get next token from string *stringp, where tokens are possibly-empty |