]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/strsep.c
Use more the ND_TTEST_1() macro
[tcpdump] / missing / strsep.c
index 91ef72f62c97203fd5b525a5eb0676dadcfe069b..05f10bccff92d54fee0d7e1d6215ebb4394ba6d3 100644 (file)
@@ -39,7 +39,7 @@
 
 #include <string.h>
 
-#include "interface.h"
+#include "netdissect.h"
 
 /*
  * Get next token from string *stringp, where tokens are possibly-empty
@@ -55,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)