X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fe3253b9b8fad9e75f863157eba0780418182f17..1a04b92e365f5ed01ca38619b41bcc4fc9cbd63c:/missing/strsep.c?ds=sidebyside diff --git a/missing/strsep.c b/missing/strsep.c index bcce4c46..05f10bcc 100644 --- a/missing/strsep.c +++ b/missing/strsep.c @@ -31,14 +31,16 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H #include #endif -#include +#include #include +#include "netdissect.h" + /* * Get next token from string *stringp, where tokens are possibly-empty * strings separated by characters from delim. @@ -53,9 +55,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)