X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/5520a233cfe9b0493f0a19d47f818e5ebf4aa8e0..296d466cd6bbf2f7e75e15bb6a01268e88c76ed0:/missing/strsep.c diff --git a/missing/strsep.c b/missing/strsep.c index a1e6b301..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)