summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2024-08-16 22:57:04 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2024-08-16 22:57:04 +0000
commitf2e0cc50090faa4dcf89ee6afea0399c53fab500 (patch)
tree156b0baaa20a5ba933822985f90f723725fdef69 /gnu/usr.bin
parent9dd658f2a94a33d798260ceb9795e2a9c7a5aa6f (diff)
strn?casecmp() config bits were incomplete. We have them so
just delete the bogus declarations. Also, getopt() is in <unistd.h> so pull that in during the remapping of it. ok miod@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/texinfo/lib/system.h11
1 files changed, 2 insertions, 9 deletions
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 <stdlib.h>
+#include <unistd.h>
#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