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/link.h | |
parent | 194788fafcb927f0affa1a56e21a1e8373f81f9c (diff) | |
download | src-bb28f3c29b4c91af1b0e79e456294bb08735648a.tar.gz src-bb28f3c29b4c91af1b0e79e456294bb08735648a.zip |
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/link.h')
-rw-r--r-- | include/link.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/link.h b/include/link.h index 9d652e252901..6222bafc969b 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 */ }; /* |