summaryrefslogtreecommitdiffstats
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-05-29 19:35:13 +0000
committerwollman <wollman@FreeBSD.org>2002-05-29 19:35:13 +0000
commit7d20b8cfe0d52642a6c9bf94faeb75a478e91e21 (patch)
tree137ba4d0ee0c9d32e3e8610e6a77f9429ffb3ba3 /include/dlfcn.h
parent7dff1045f4a028bb1112d46ddf0ee33aec3752b9 (diff)
downloadFreeBSD-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 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 38a38be..dcbb6c4 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -76,7 +76,7 @@ struct __dlfunc_arg {
int __dlfunc_dummy;
};
-typedef void (*__dlfunc_t)(struct __dlfunc_arg);
+typedef void (*dlfunc_t)(struct __dlfunc_arg);
__BEGIN_DECLS
/* XSI functions first */
@@ -87,7 +87,7 @@ void *dlsym(void * /* __restrict */, const char * /* __restrict */);
#if __BSD_VISIBLE
int dladdr(const void *, Dl_info *);
-__dlfunc_t dlfunc(void * /* __restrict */, const char * /* __restrict */);
+dlfunc_t dlfunc(void * /* __restrict */, const char * /* __restrict */);
void dllockinit(void *_context,
void *(*_lock_create)(void *_context),
void (*_rlock_acquire)(void *_lock),
OpenPOWER on IntegriCloud