summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-07-18 16:21:15 +0000
committerpfg <pfg@FreeBSD.org>2014-07-18 16:21:15 +0000
commita93d59fa39c80c136ef3a8a0ef05e37c0ebf70b8 (patch)
tree3aefd26854892a09193829289598dcca9e3016fb /include
parentbfb24ec9b9b928be15e2e9b4e5f777719b4cd01a (diff)
downloadFreeBSD-src-a93d59fa39c80c136ef3a8a0ef05e37c0ebf70b8.zip
FreeBSD-src-a93d59fa39c80c136ef3a8a0ef05e37c0ebf70b8.tar.gz
Revert r268826:
The current ordering of this header is a feature as it is more consistent with POSIX. Also adding gratuitous newlines is not elegant. Pointed out by: bde
Diffstat (limited to 'include')
-rw-r--r--include/search.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/search.h b/include/search.h
index d93d806..4e4606f 100644
--- a/include/search.h
+++ b/include/search.h
@@ -1,8 +1,8 @@
/*-
- * Written by J.T. Conklin <jtc@NetBSD.org>
+ * Written by J.T. Conklin <jtc@netbsd.org>
* Public domain.
*
- * $NetBSD: search.h,v 1.18 2005/07/06 15:47:15 drochner Exp $
+ * $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $
* $FreeBSD$
*/
@@ -49,14 +49,12 @@ __BEGIN_DECLS
int hcreate(size_t);
void hdestroy(void);
ENTRY *hsearch(ENTRY, ACTION);
-
+void insque(void *, void *);
void *lfind(const void *, const void *, size_t *, size_t,
int (*)(const void *, const void *));
void *lsearch(const void *, void *, size_t *, size_t,
int (*)(const void *, const void *));
-void insque(void *, void *);
void remque(void *);
-
void *tdelete(const void * __restrict, void ** __restrict,
int (*)(const void *, const void *));
void *tfind(const void *, void * const *,
OpenPOWER on IntegriCloud