Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix warning
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
  • Loading branch information
Andreas Jaeger committed May 17, 2012
1 parent 2e4c1e9 commit 5991034
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions 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.
Expand Down
2 changes: 1 addition & 1 deletion elf/tst-relsort1.c
Expand Up @@ -3,7 +3,7 @@


static int
do_test ()
do_test (void)
{
const char lib[] = "$ORIGIN/tst-relsort1mod1.so";
void *h = dlopen (lib, RTLD_NOW);
Expand Down

0 comments on commit 5991034

Please sign in to comment.