summaryrefslogtreecommitdiff
path: root/include/search.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /include/search.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'include/search.h')
-rw-r--r--include/search.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/search.h b/include/search.h
index 528d6414a40..53efbadba50 100644
--- a/include/search.h
+++ b/include/search.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: search.h,v 1.3 1997/09/21 10:45:49 niklas Exp $ */
+/* $OpenBSD: search.h,v 1.4 2002/02/16 21:27:17 millert Exp $ */
/* $NetBSD: search.h,v 1.9 1995/08/08 21:14:45 jtc Exp $ */
/*
@@ -35,16 +35,16 @@ typedef enum {
__BEGIN_DECLS
extern void *bsearch __P((const void *, const void *, size_t, size_t,
int (*)(const void *, const void *)));
-extern int hcreate __P((unsigned int));
-extern void hdestroy __P((void));
-extern ENTRY *hsearch __P((ENTRY, ACTION));
+extern int hcreate(unsigned int);
+extern void hdestroy(void);
+extern ENTRY *hsearch(ENTRY, ACTION);
extern void *lfind __P((const void *, const void *, size_t *, size_t,
int (*)(const void *, const void *)));
extern void *lsearch __P((const void *, const void *, size_t *, size_t,
int (*)(const void *, const void *)));
-extern void insque __P((void *, void *));
-extern void remque __P((void *));
+extern void insque(void *, void *);
+extern void remque(void *);
extern void *tdelete __P((const void *, void **,
int (*)(const void *, const void *)));