projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e4c1e9
)
Fix warning
author
Andreas Jaeger
<aj@suse.de>
Thu, 17 May 2012 20:00:57 +0000
(22:00 +0200)
committer
Andreas Jaeger
<aj@suse.de>
Thu, 17 May 2012 20:00:57 +0000
(22:00 +0200)
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
ChangeLog
patch
|
blob
|
history
elf/tst-relsort1.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
793bc73
..
d360f1b
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2012-05-17 Andreas Jaeger <aj@suse.de>
+
+ * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
+ warning.
+
2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
diff --git
a/elf/tst-relsort1.c
b/elf/tst-relsort1.c
index
972100c
..
a87b138
100644
(file)
--- 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);