aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/dlopen.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3
index 8e18f70c07..2de358ea3b 100644
--- a/man3/dlopen.3
+++ b/man3/dlopen.3
@@ -581,7 +581,7 @@ main(void)
dlerror(); /* Clear any existing error */
- cosine = (double (*)(double)) dlsym(handle, "cos");
+ cosine = dlsym(handle, "cos");
/* According to the ISO C standard, casting between function
pointers and 'void *', as done above, produces undefined results.