X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/0b22abf27af88dfaf975d01b0f7a50e53e74188b..afe133ecef9a8593ecf7fcbb557276c05f2bc7ab:/missing/strsep.c?ds=sidebyside diff --git a/missing/strsep.c b/missing/strsep.c index 0362d1f5..05f10bcc 100644 --- a/missing/strsep.c +++ b/missing/strsep.c @@ -31,19 +31,16 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/missing/strsep.c,v 1.3 2003-03-25 08:33:48 guy Exp $ (LBL)"; -#endif /* LIBC_SCCS and not lint */ - -#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. @@ -58,9 +55,9 @@ static const char rcsid[] = 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)