diff options
author | Jim Meyering <meyering@fb.com> | 2014-09-24 09:03:06 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2014-09-26 16:10:10 -0700 |
commit | 734ed7c8a7b3076e4a1dedaaeb02cfbaa594711c (patch) | |
tree | 017da710181c9fb9be0d19bf59f2d1dffa8fec7a /lib/exclude.c | |
parent | 5ab220cc90a804b83ab8b91ba00a3bd2651428f1 (diff) | |
download | gnulib-734ed7c8a7b3076e4a1dedaaeb02cfbaa594711c.tar.gz |
exclude: declare exclude_patopts static
* lib/exclude.c (exclude_patopts): Declare static,
to avoid triggering a -Wmissing-prototypes warning.
The alternative (declaring it in the .h file) would
require publicizing the private "struct patopts".
Diffstat (limited to 'lib/exclude.c')
-rw-r--r-- | lib/exclude.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exclude.c b/lib/exclude.c index 14b59b70eb..b50c0e4a26 100644 --- a/lib/exclude.c +++ b/lib/exclude.c @@ -392,7 +392,7 @@ exclude_fnmatch (char const *pattern, char const *f, int options) return matched; } -bool +static bool exclude_patopts (struct patopts const *opts, char const *f) { int options = opts->options; |