=================================================================== RCS file: /cvs/mandoc/compat_strcasestr.c,v retrieving revision 1.1 retrieving revision 1.5 diff -u -p -r1.1 -r1.5 --- mandoc/compat_strcasestr.c 2013/12/31 23:03:47 1.1 +++ mandoc/compat_strcasestr.c 2020/06/15 01:37:15 1.5 @@ -1,15 +1,6 @@ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +/* $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. @@ -41,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 @@ -70,5 +62,3 @@ strcasestr(const char *s, const char *find) } return __UNCONST(s); } - -#endif