aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/link_elf.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commitbb28f3c29b4c91af1b0e79e456294bb08735648a (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /sys/sys/link_elf.h
parent194788fafcb927f0affa1a56e21a1e8373f81f9c (diff)
downloadsrc-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 'sys/sys/link_elf.h')
-rw-r--r--sys/sys/link_elf.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index 9d652e252901..6222bafc969b 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.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 */
};
/*