From f2e0cc50090faa4dcf89ee6afea0399c53fab500 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Fri, 16 Aug 2024 22:57:04 +0000 Subject: 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@ --- gnu/usr.bin/texinfo/lib/system.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3