diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
commit | bb28f3c29b4c91af1b0e79e456294bb08735648a (patch) | |
tree | b4ea687a7ecac173665d9f3a8a858a98631f494e /include/dlfcn.h | |
parent | 194788fafcb927f0affa1a56e21a1e8373f81f9c (diff) |
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
Notes
Notes:
svn path=/head/; revision=93032
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r-- | include/dlfcn.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h index 5034a36b072c..13fd6845ffa5 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -64,18 +64,18 @@ typedef struct dl_info { } Dl_info; __BEGIN_DECLS -int dladdr __P((const void *, Dl_info *)); -int dlclose __P((void *)); -const char *dlerror __P((void)); -void dllockinit __P((void *_context, - void *(*_lock_create)(void *_context), - void (*_rlock_acquire)(void *_lock), - void (*_wlock_acquire)(void *_lock), - void (*_lock_release)(void *_lock), - void (*_lock_destroy)(void *_lock), - void (*_context_destroy)(void *_context))); -void *dlopen __P((const char *, int)); -void *dlsym __P((void *, const char *)); +int dladdr(const void *, Dl_info *); +int dlclose(void *); +const char *dlerror(void); +void dllockinit(void *_context, + void *(*_lock_create)(void *_context), + void (*_rlock_acquire)(void *_lock), + void (*_wlock_acquire)(void *_lock), + void (*_lock_release)(void *_lock), + void (*_lock_destroy)(void *_lock), + void (*_context_destroy)(void *_context)); +void *dlopen(const char *, int); +void *dlsym(void *, const char *); __END_DECLS #endif /* !_DLFCN_H_ */ |