]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix declaration of pcap_strtok_r().
authorGisle Vanem <[email protected]>
Tue, 14 Mar 2017 17:13:37 +0000 (10:13 -0700)
committerGuy Harris <[email protected]>
Tue, 14 Mar 2017 17:13:37 +0000 (10:13 -0700)
portability.h

index 117fe4dd41e53028c28b32e53c3a3f146c006df0..ce075500ed4e5329dde5b58f742b280b2a671158 100644 (file)
@@ -172,7 +172,7 @@ extern int pcap_vsnprintf(char *, size_t, const char *, va_list ap);
      * Define it ourselves.
      */
     #define NEED_STRTOK_R
-    extern int pcap_strtok_r(char *, const char *, char **);
+    extern char *pcap_strtok_r(char *, const char *, char **);
   #endif
 #endif /* HAVE_STRTOK_R */