X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/65aafc0c1d6c4434493c4cc24cb90dff937d9361..4c683712d4b483b43f16d41d09ec6232cbc917ca:/missing/strsep.c diff --git a/missing/strsep.c b/missing/strsep.c index 95673fc8..a07660c4 100644 --- a/missing/strsep.c +++ b/missing/strsep.c @@ -31,15 +31,13 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include -#endif -#include +#include #include -#include "interface.h" +#include "netdissect.h" /* * Get next token from string *stringp, where tokens are possibly-empty @@ -55,9 +53,9 @@ char * strsep(char **stringp, const char *delim) { - register char *s; - register const char *spanp; - register int c, sc; + char *s; + const char *spanp; + int c, sc; char *tok; if ((s = *stringp) == NULL)