[Patch] Fix warning in elf/tst-relsort1.c
Andreas Jaeger
aj@suse.de
Thu May 17 20:03:00 GMT 2012
I've comitted the appended patch as obvious to fix:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
Tested on Linux/x86-64,
Andreas
2012-05-17 Andreas Jaeger <aj@suse.de>
* elf/tst-relsort1.c (do_test): Fix function declaration to avoid
warning.
diff --git a/elf/tst-relsort1.c b/elf/tst-relsort1.c
index 972100c..a87b138 100644
--- a/elf/tst-relsort1.c
+++ b/elf/tst-relsort1.c
@@ -3,7 +3,7 @@
static int
-do_test ()
+do_test (void)
{
const char lib[] = "$ORIGIN/tst-relsort1mod1.so";
void *h = dlopen (lib, RTLD_NOW);
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the Libc-alpha
mailing list