mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-07 13:28:05 +08:00
tst-difftime.c: Use "main (void)"
Use "main (void)" instead of "main (void)" to avoid GCC 4.9 warning: tst-difftime.c:62:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] main () ^ tst-difftime.c: In function ‘main’: tst-difftime.c:62:1: error: old-style function definition [-Werror=old-style-definition] cc1: all warnings being treated as errors Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
afac8b1311
commit
d4175a62c2
@ -59,7 +59,7 @@ do_test (void)
|
||||
#include <support/test-driver.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
main (void)
|
||||
{
|
||||
return EXIT_UNSUPPORTED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user