aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2002-05-29 19:35:13 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2002-05-29 19:35:13 +0000
commitfda2301943c10ee6e10a1c26d835bbff867adc1a (patch)
tree137ba4d0ee0c9d32e3e8610e6a77f9429ffb3ba3 /lib/libc
parentf7e0360261fdea2409c0fb96520abad759964e40 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/dlfunc.c4
-rw-r--r--lib/libc/gen/dlopen.32
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/dlfunc.c b/lib/libc/gen/dlfunc.c
index e3b79595ffff4..146711518f5b1 100644
--- a/lib/libc/gen/dlfunc.c
+++ b/lib/libc/gen/dlfunc.c
@@ -16,12 +16,12 @@
* have the same representation, which is true on all platforms FreeBSD
* runs on, but is not guaranteed by the C standard.
*/
-__dlfunc_t
+dlfunc_t
dlfunc(void *handle, const char *symbol)
{
union {
void *d;
- __dlfunc_t f;
+ dlfunc_t f;
} rv;
rv.d = dlsym(handle, symbol);
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3
index aa7d00f4cf4b4..a26a6cf2a2d2e 100644
--- a/lib/libc/gen/dlopen.3
+++ b/lib/libc/gen/dlopen.3
@@ -46,7 +46,7 @@
.Fn dlopen "const char *path" "int mode"
.Ft void *
.Fn dlsym "void *handle" "const char *symbol"
-.Ft __dlfunc_t
+.Ft dlfunc_t
.Fn dlfunc "void *handle" "const char *symbol"
.Ft const char *
.Fn dlerror "void"