]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/strsep.c
rsvp: fetch a 32-bit quantity into a 32-bit variable.
[tcpdump] / missing / strsep.c
index 95673fc8ce2e7103ef561bdd781b14cdece4e2a3..05f10bccff92d54fee0d7e1d6215ebb4394ba6d3 100644 (file)
 #include <config.h>
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #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)