From: guenther Date: Fri, 16 Aug 2024 22:57:03 +0000 (+0000) Subject: strn?casecmp() config bits were incomplete. We have them so X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=626a044d7e64ee43933c709dd0d03266de2a2858;p=openbsd strn?casecmp() config bits were incomplete. We have them so just delete the bogus declarations. Also, getopt() is in so pull that in during the remapping of it. ok miod@ --- diff --git a/gnu/usr.bin/texinfo/lib/system.h b/gnu/usr.bin/texinfo/lib/system.h index 4a34f3c368d..26eec9c5f6e 100644 --- a/gnu/usr.bin/texinfo/lib/system.h +++ b/gnu/usr.bin/texinfo/lib/system.h @@ -1,5 +1,5 @@ /* system.h: system-dependent declarations; include this first. - $Id: system.h,v 1.5 2006/07/17 16:12:36 espie Exp $ + $Id: system.h,v 1.6 2024/08/16 22:57:03 guenther Exp $ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. @@ -60,6 +60,7 @@ extern char *substring (const char *, const char *); #ifdef STDC_HEADERS #define getopt system_getopt #include +#include #undef getopt #else extern char *getenv (); @@ -117,14 +118,6 @@ extern char *strerror (); #define PATH_MAX _POSIX_PATH_MAX #endif -#ifndef HAVE_DECL_STRCASECMP -extern int strcasecmp (); -#endif - -#ifndef HAVE_DECL_STRNCASECMP -extern int strncasecmp (); -#endif - #ifndef HAVE_DECL_STRCOLL extern int strcoll (); #endif