Mercurial > hg > octave-jordi > gnulib-hg
changeset 17765:6dafc9cb43ae
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".
author | Jim Meyering <meyering@fb.com> |
---|---|
date | Wed, 24 Sep 2014 09:03:06 -0700 |
parents | 2e1bf0ada123 |
children | 9d6a89b53b85 |
files | ChangeLog lib/exclude.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2014-09-24 Jim Meyering <meyering@fb.com> + + 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". + 2014-09-21 Werner Lemberg <wl@gnu.org> dirname: support compilation with C++