diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-18 14:36:45 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-18 14:38:15 -0300 |
commit | 716c4027b04db785034b0f67ac552cfaff360463 (patch) | |
tree | d36325c9b7411e8175b39dfcce12ba3ae8a78f36 /elf | |
parent | c90363403b57b3b7919061851cb3e6d9c85e784a (diff) | |
download | glibc-716c4027b04db785034b0f67ac552cfaff360463.tar.gz glibc-716c4027b04db785034b0f67ac552cfaff360463.tar.xz glibc-716c4027b04db785034b0f67ac552cfaff360463.zip |
elf: Fix tst-align3
The elf/tst-align3.c declares the function using a wrong prototype. Checked on aarch64-linux-gnu.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/tst-align3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/elf/tst-align3.c b/elf/tst-align3.c index 4913c26610..6853b6ebb1 100644 --- a/elf/tst-align3.c +++ b/elf/tst-align3.c @@ -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> |