summaryrefslogtreecommitdiffstats
path: root/include/link.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commit300518c0a10b4f5030e23380da07c906a3ee80dc (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/link.h
parenta931cab8794b686ee088069d9a62bcfec63c5b1b (diff)
downloadFreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.zip
FreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.tar.gz
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.
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/link.h b/include/link.h
index 9d652e2..6222baf 100644
--- a/include/link.h
+++ b/include/link.h
@@ -196,14 +196,13 @@ struct so_debug {
* to crt0.
*/
struct ld_entry {
- void *(*dlopen) __P((const char *, int)); /* NONE */
- int (*dlclose) __P((void *)); /* NONE */
- void *(*dlsym) __P((void *, const char *)); /* NONE */
- const char *(*dlerror) __P((void)); /* NONE */
- void (*dlexit) __P((void)); /* HAS_DLEXIT */
- void *(*dlsym3) __P((void *, const char *, void *)); /* HAS_DLSYM3 */
- int (*dladdr) __P((const void *,
- struct dl_info *)); /* HAS_DLADDR */
+ void *(*dlopen)(const char *, int); /* NONE */
+ int (*dlclose)(void *); /* NONE */
+ void *(*dlsym)(void *, const char *); /* NONE */
+ const char *(*dlerror)(void); /* NONE */
+ void (*dlexit)(void); /* HAS_DLEXIT */
+ void *(*dlsym3)(void *, const char *, void *); /* HAS_DLSYM3 */
+ int (*dladdr)(const void *, struct dl_info *); /* HAS_DLADDR */
};
/*
OpenPOWER on IntegriCloud