diff options
Diffstat (limited to 'dlfcn/tststatic.c')
-rw-r--r-- | dlfcn/tststatic.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dlfcn/tststatic.c b/dlfcn/tststatic.c index 00695be7b1..3d6551389e 100644 --- a/dlfcn/tststatic.c +++ b/dlfcn/tststatic.c @@ -2,8 +2,8 @@ #include <stdio.h> #include <stdlib.h> -int -main (void) +static int +do_test (void) { void *handle; int (*test) (int); @@ -33,3 +33,6 @@ main (void) dlclose (handle); return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |