=================================================================== RCS file: /cvs/mandoc/compat_strsep.c,v retrieving revision 1.4 retrieving revision 1.6 diff -u -p -r1.4 -r1.6 --- mandoc/compat_strsep.c 2014/12/11 09:05:01 1.4 +++ mandoc/compat_strsep.c 2022/06/21 10:34:14 1.6 @@ -1,14 +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 $ */ -#if HAVE_STRSEP - -int dummy; - -#else - -/* $Id: compat_strsep.c,v 1.4 2014/12/11 09:05:01 schwarze Exp $ */ -/* $OpenBSD: compat_strsep.c,v 1.4 2014/12/11 09:05:01 schwarze Exp $ */ - /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -37,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. @@ -75,5 +70,3 @@ strsep(char **stringp, const char *delim) } /* NOTREACHED */ } - -#endif