From: guy Date: Tue, 25 Mar 2003 08:33:34 +0000 (+0000) Subject: Declare "strsep()" along with the other string routines we provide for X-Git-Tag: tcpdump-3.8-bp~180 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/5697670cebd7d360544730c777f0d2d918fd8a7e Declare "strsep()" along with the other string routines we provide for ourselves on platforms that lack them. --- diff --git a/interface.h b/interface.h index 73b650ad..884d727c 100644 --- a/interface.h +++ b/interface.h @@ -18,7 +18,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.206 2003-03-08 08:55:34 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.207 2003-03-25 08:33:34 guy Exp $ (LBL) */ #ifndef tcpdump_interface_h @@ -59,6 +59,10 @@ extern size_t strlcpy(char *, const char *, size_t); extern char *strdup(const char *); #endif +#ifndef HAVE_STRSEP +extern char *strsep(char **, const char *); +#endif + struct tok { int v; /* value */ const char *s; /* string */