]> Savannah Git Hosting - gnulib.git/commitdiff
glob: remove bogus extern decl
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Sep 2017 18:02:26 +0000 (11:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Sep 2017 18:02:52 +0000 (11:02 -0700)
* lib/glob.c (__glob_pattern_type): Remove now-spurious
extern declaration.  Problem reported by Adhemerval Zanella in:
https://sourceware.org/ml/libc-alpha/2017-09/msg00972.html

ChangeLog
lib/glob.c

index 4585cf12bc1e8405217d7bb7183b52e795a0b3f0..440b90686a50183a813e36dede9c382df59dbc02 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-09-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       glob: remove bogus extern decl
+       * lib/glob.c (__glob_pattern_type): Remove now-spurious
+       extern declaration.  Problem reported by Adhemerval Zanella in:
+       https://sourceware.org/ml/libc-alpha/2017-09/msg00972.html
+
 2017-09-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        uniname/uniname-tests: integer overflow fix
index 2a5e6642e132b08e42f50d7185568a169f61e7f1..9d677d9826430fd4c93bccb25fe064b469281b1e 100644 (file)
@@ -205,9 +205,6 @@ glob_use_alloca (size_t alloca_used, size_t len)
 static int glob_in_dir (const char *pattern, const char *directory,
                         int flags, int (*errfunc) (const char *, int),
                         glob_t *pglob, size_t alloca_used);
-extern int __glob_pattern_type (const char *pattern, int quote)
-    attribute_hidden;
-
 static int prefix_array (const char *prefix, char **array, size_t n) __THROWNL;
 static int collated_compare (const void *, const void *) __THROWNL;