diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 18:10:35 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 18:10:35 +0000 |
commit | a4805f79e88968d0f3c0c39bca518d549390c088 (patch) | |
tree | ef0bd72825696cfb6943f8aef6423a836ad378ff /lib | |
parent | 46499517ba7bc6f1030ce5fa86d4ff07c7a13322 (diff) | |
download | coreutils-a4805f79e88968d0f3c0c39bca518d549390c088.tar.xz |
Include <stdbool.h>.
(errno): Remove decl; we now assume C89 or better.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fnmatch.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c index b9b059834..32468964d 100644 --- a/lib/fnmatch.c +++ b/lib/fnmatch.c @@ -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; |