=================================================================== RCS file: /cvs/mandoc/compat_strsep.c,v retrieving revision 1.2 retrieving revision 1.6 diff -u -p -r1.2 -r1.6 --- mandoc/compat_strsep.c 2014/08/10 23:54:41 1.2 +++ mandoc/compat_strsep.c 2022/06/21 10:34:14 1.6 @@ -1,13 +1,6 @@ -#include "config.h" +/* $Id: compat_strsep.c,v 1.6 2022/06/21 10:34:14 schwarze Exp $ */ +/* $OpenBSD: compat_strsep.c,v 1.6 2022/06/21 10:34:14 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,7 +29,10 @@ int dummy; * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#include "config.h" +#include + /* * Get next token from string *stringp, where tokens are possibly-empty * strings separated by characters from delim. @@ -74,5 +70,3 @@ strsep(char **stringp, const char *delim) } /* NOTREACHED */ } - -#endif