diff options
Diffstat (limited to 'dlfcn')
-rw-r--r-- | dlfcn/bug-atexit1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/bug-atexit1.c b/dlfcn/bug-atexit1.c index 3bdb5587b1..e2d1d2f776 100644 --- a/dlfcn/bug-atexit1.c +++ b/dlfcn/bug-atexit1.c @@ -10,7 +10,7 @@ do_test (void) for (int i = 0; i < 2; ++i) { void *dso = dlopen ("$ORIGIN/bug-atexit1-lib.so", RTLD_NOW); - void (*fn) (void) = (void (*)()) dlsym (dso, "foo"); + void (*fn) (void) = (void (*) (void)) dlsym (dso, "foo"); fn (); dlclose (dso); puts ("round done"); |