X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/58159be647567b81e04e07f3ad136f3b4970487d..d9dbb118f2f9c09a8548a2b34a6573f611c0bcf7:/missing/strsep.c diff --git a/missing/strsep.c b/missing/strsep.c index d384cc14..2c17275f 100644 --- a/missing/strsep.c +++ b/missing/strsep.c @@ -31,13 +31,15 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/missing/strsep.c,v 1.2 2003-03-03 00:56:31 guy Exp $ (LBL)"; -#endif /* LIBC_SCCS and not lint */ +#ifdef HAVE_CONFIG_H +#include +#endif + +#include #include -#include + +#include "netdissect.h" /* * Get next token from string *stringp, where tokens are possibly-empty @@ -51,9 +53,7 @@ static const char rcsid[] = * If *stringp is NULL, strsep returns NULL. */ char * -strsep(stringp, delim) - register char **stringp; - register const char *delim; +strsep(char **stringp, const char *delim) { register char *s; register const char *spanp;