diff options
Diffstat (limited to 'elf/tst-dlmodcount.c')
-rw-r--r-- | elf/tst-dlmodcount.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c index 64df2fa18a..71653c3e1a 100644 --- a/elf/tst-dlmodcount.c +++ b/elf/tst-dlmodcount.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2004-2015 Free Software Foundation, Inc. +/* Copyright (C) 2004-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger <davidm@hpl.hp.com>, 2004. @@ -92,8 +92,8 @@ unload (const char *path, void *handle) dl_iterate_phdr (callback, (void *)(intptr_t) REMOVE); } -int -main (int argc, char **argv) +static int +do_test (void) { void *handle1, *handle2; @@ -104,3 +104,6 @@ main (int argc, char **argv) unload ("globalmod1.so", handle2); return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |