diff options
Diffstat (limited to 'compat_strsep.c')
-rw-r--r-- | compat_strsep.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/compat_strsep.c b/compat_strsep.c index 1df57582802b..9765ac823eeb 100644 --- a/compat_strsep.c +++ b/compat_strsep.c @@ -1,13 +1,5 @@ -#include "config.h" - -#if HAVE_STRSEP - -int dummy; - -#else - -/* $Id: compat_strsep.c,v 1.4 2014/12/11 09:05:01 schwarze Exp $ */ -/* $OpenBSD: strsep.c,v 1.7 2014/02/05 20:42:32 stsp Exp $ */ +/* $Id: compat_strsep.c,v 1.5 2020/06/15 01:37:15 schwarze Exp $ */ +/* $OpenBSD: strsep.c,v 1.8 2015/08/31 02:53:57 guenther Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -37,6 +29,7 @@ int dummy; * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#include "config.h" /* * Get next token from string *stringp, where tokens are possibly-empty @@ -75,5 +68,3 @@ strsep(char **stringp, const char *delim) } /* NOTREACHED */ } - -#endif |