Mercurial > gnulib
changeset 38867:cd6023ee684b
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
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 26 Sep 2017 11:02:26 -0700 |
parents | 75815bfcafeb |
children | 0223bd771af1 |
files | ChangeLog lib/glob.c |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Sep 25 18:26:25 2017 -0700 +++ b/ChangeLog Tue Sep 26 11:02:26 2017 -0700 @@ -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
--- a/lib/glob.c Mon Sep 25 18:26:25 2017 -0700 +++ b/lib/glob.c Tue Sep 26 11:02:26 2017 -0700 @@ -205,9 +205,6 @@ 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;