=================================================================== RCS file: /cvs/mandoc/compat_strsep.c,v retrieving revision 1.2 retrieving revision 1.5 diff -u -p -r1.2 -r1.5 --- mandoc/compat_strsep.c 2014/08/10 23:54:41 1.2 +++ mandoc/compat_strsep.c 2020/06/15 01:37:15 1.5 @@ -1,13 +1,6 @@ -#include "config.h" +/* $Id: compat_strsep.c,v 1.5 2020/06/15 01:37:15 schwarze Exp $ */ +/* $OpenBSD: compat_strsep.c,v 1.5 2020/06/15 01:37:15 schwarze Exp $ */ -#ifdef HAVE_STRSEP - -int dummy; - -#else - -/* ($)OpenBSD: strsep.c,v 1.6 2005/08/08 08:05:37 espie Exp $ */ - /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -36,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 @@ -74,5 +68,3 @@ strsep(char **stringp, const char *delim) } /* NOTREACHED */ } - -#endif