From 300518c0a10b4f5030e23380da07c906a3ee80dc Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 23 Mar 2002 17:24:55 +0000 Subject: 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. --- include/dlfcn.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'include/dlfcn.h') diff --git a/include/dlfcn.h b/include/dlfcn.h index 5034a36..13fd684 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_ */ -- cgit v1.1