]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdbool.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 18:10:35 +0000 (18:10 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 18:10:35 +0000 (18:10 +0000)
(errno): Remove decl; we now assume C89 or better.

lib/fnmatch.c

index b9b0598340e08fc8af659c7f0039826a3779bf81..32468964d8bac619c4c82e549d6166d3b6091583 100644 (file)
@@ -35,6 +35,7 @@
 #include <ctype.h>
 #include <errno.h>
 #include <stddef.h>
+#include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -156,10 +157,6 @@ extern int fnmatch (const char *pattern, const char *string, int flags);
 /* Avoid depending on library functions or files
    whose names are inconsistent.  */
 
-# ifndef errno
-extern int errno;
-# endif
-
 /* Global variable.  */
 static int posixly_correct;