]> Savannah Git Hosting - gnulib.git/commit
hard-locale-tests: avoid a -Wstrict-prototypes warning
authorJim Meyering <meyering@fb.com>
Fri, 13 Nov 2020 15:34:28 +0000 (07:34 -0800)
committerJim Meyering <meyering@fb.com>
Fri, 13 Nov 2020 15:34:28 +0000 (07:34 -0800)
commit825ec33c7af090f7d9b3f6cf46c705b9f7e95802
treee7df1a0888068d4d25cbb8fba1542c094791dd17
parente2739ba6310893be93d01a23cbfed8d8dfb08966
hard-locale-tests: avoid a -Wstrict-prototypes warning

* tests/locale.c (main): Placate gcc's -Wstrict-prototypes by
changing "main ()" to "main (void)". This was the only case that
triggered a warning when building grep with --enable-gcc-warnings.
ChangeLog
tests/locale.c