elf: Fix tst-align3

The elf/tst-align3.c declares the function using a wrong prototype.

Checked on aarch64-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2022-01-18 14:36:45 -03:00
parent c90363403b
commit 716c4027b0
1 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@
int bar __attribute__ ((aligned (ALIGN))) = 1;
extern int do_load_test (void);
extern void do_load_test (void);
static int
do_test (void)
@ -30,7 +30,8 @@ do_test (void)
printf ("bar: %p\n", &bar);
TEST_VERIFY (is_aligned (&bar, ALIGN) == 0);
return do_load_test ();
do_load_test ();
return 0;
}
#include <support/test-driver.c>