diff options
Diffstat (limited to 'elf/tst-audit2.c')
-rw-r--r-- | elf/tst-audit2.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-audit2.c b/elf/tst-audit2.c index b4fa906940..acad1b05cf 100644 --- a/elf/tst-audit2.c +++ b/elf/tst-audit2.c @@ -31,8 +31,8 @@ calloc (size_t n, size_t m) return ptr; } -int -main (void) +static int +do_test (void) { if (magic[1] != MAGIC1 || magic[0] != MAGIC2) { @@ -42,3 +42,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |