Add internal structure used by the t* routines, protected via an ifdef
This commit is contained in:
parent
13a9c36196
commit
f4287ac1d3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: search.h,v 1.11 1999/02/16 18:23:01 kleink Exp $ */
|
||||
/* $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>
|
||||
|
@ -32,6 +32,13 @@ typedef enum {
|
|||
leaf
|
||||
} VISIT;
|
||||
|
||||
#ifdef _SEARCH_PRIVATE
|
||||
typedef struct node {
|
||||
char *key;
|
||||
struct node *llink, *rlink;
|
||||
} node_t;
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
extern void *bsearch __P((const void *, const void *, size_t, size_t,
|
||||
int (*)(const void *, const void *)));
|
||||
|
|
Loading…
Reference in New Issue