diff options
author | wollman <wollman@FreeBSD.org> | 2002-05-29 19:35:13 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-05-29 19:35:13 +0000 |
commit | 7d20b8cfe0d52642a6c9bf94faeb75a478e91e21 (patch) | |
tree | 137ba4d0ee0c9d32e3e8610e6a77f9429ffb3ba3 /lib/libc/gen/dlfunc.c | |
parent | 7dff1045f4a028bb1112d46ddf0ee33aec3752b9 (diff) | |
download | FreeBSD-src-7d20b8cfe0d52642a6c9bf94faeb75a478e91e21.zip FreeBSD-src-7d20b8cfe0d52642a6c9bf94faeb75a478e91e21.tar.gz |
Since POSIX gives us plenary authority to define _t types, change
__dlfunc_t to dlfunc_t to match what I have proposed to the Austin
Group. (This also makes it easier for applications to store these
values before they decide what to do with them, e.g., in a wrapper
function.)
Diffstat (limited to 'lib/libc/gen/dlfunc.c')
-rw-r--r-- | lib/libc/gen/dlfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/dlfunc.c b/lib/libc/gen/dlfunc.c index e3b7959..1467115 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); |