diff options
author | imp <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
commit | 300518c0a10b4f5030e23380da07c906a3ee80dc (patch) | |
tree | b4ea687a7ecac173665d9f3a8a858a98631f494e /include/search.h | |
parent | a931cab8794b686ee088069d9a62bcfec63c5b1b (diff) | |
download | FreeBSD-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/search.h')
-rw-r--r-- | include/search.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/search.h b/include/search.h index 370654a..75f59bf 100644 --- a/include/search.h +++ b/include/search.h @@ -41,16 +41,13 @@ typedef struct node { #endif __BEGIN_DECLS -int hcreate __P((size_t)); -void hdestroy __P((void)); -ENTRY *hsearch __P((ENTRY, ACTION)); -void *tdelete __P((const void *, void **, - int (*)(const void *, const void *))); -void *tfind __P((const void *, void **, - int (*)(const void *, const void *))); -void *tsearch __P((const void *, void **, - int (*)(const void *, const void *))); -void twalk __P((const void *, void (*)(const void *, VISIT, int))); +int hcreate(size_t); +void hdestroy(void); +ENTRY *hsearch(ENTRY, ACTION); +void *tdelete(const void *, void **, int (*)(const void *, const void *)); +void *tfind(const void *, void **, int (*)(const void *, const void *)); +void *tsearch(const void *, void **, int (*)(const void *, const void *)); +void twalk(const void *, void (*)(const void *, VISIT, int)); __END_DECLS #endif /* !_SEARCH_H_ */ |