mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
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:
parent
c90363403b
commit
716c4027b0
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user