=================================================================== RCS file: /cvs/mandoc/compat_strcasestr.c,v retrieving revision 1.2 retrieving revision 1.5 diff -u -p -r1.2 -r1.5 --- mandoc/compat_strcasestr.c 2014/08/10 23:54:41 1.2 +++ mandoc/compat_strcasestr.c 2020/06/15 01:37:15 1.5 @@ -1,13 +1,6 @@ -#include "config.h" +/* $Id: compat_strcasestr.c,v 1.5 2020/06/15 01:37:15 schwarze Exp $ */ +/* $NetBSD: strcasestr.c,v 1.3 2005/11/29 03:12:00 christos Exp $ */ -#ifdef HAVE_STRCASESTR - -int dummy; - -#else - -/* ($)NetBSD: strcasestr.c,v 1.2 2005/02/09 21:35:47 kleink Exp $ */ - /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -39,6 +32,7 @@ int dummy; * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#include "config.h" #include #include @@ -68,5 +62,3 @@ strcasestr(const char *s, const char *find) } return __UNCONST(s); } - -#endif