diff options
| author | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:12:10 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:12:10 -0500 |
| commit | 920746cbb5d18d8aef284d3fe71a57cd52509117 (patch) | |
| tree | 11b4436a58c077f36b1236f0c702af00c763e3f6 /src/search | |
| parent | f23336fbc3148105c42eebfa44a22d1164828108 (diff) | |
disable all functions; will strategically reenable them as tested
Diffstat (limited to 'src/search')
| -rw-r--r-- | src/search/hcreate.c | 5 | ||||
| -rw-r--r-- | src/search/hdestroy.c | 5 | ||||
| -rw-r--r-- | src/search/hsearch.c | 5 | ||||
| -rw-r--r-- | src/search/insque.c | 5 | ||||
| -rw-r--r-- | src/search/lfind.c | 5 | ||||
| -rw-r--r-- | src/search/lsearch.c | 5 | ||||
| -rw-r--r-- | src/search/remque.c | 5 | ||||
| -rw-r--r-- | src/search/tdelete.c | 5 | ||||
| -rw-r--r-- | src/search/tfind.c | 5 | ||||
| -rw-r--r-- | src/search/tsearch.c | 5 | ||||
| -rw-r--r-- | src/search/twalk.c | 5 |
11 files changed, 55 insertions, 0 deletions
diff --git a/src/search/hcreate.c b/src/search/hcreate.c index bbde96e7..8317d32c 100644 --- a/src/search/hcreate.c +++ b/src/search/hcreate.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> int hcreate(size_t nel) @@ -8,3 +10,6 @@ int hcreate(size_t nel) /* XOPEN(4) */ + + +#endif diff --git a/src/search/hdestroy.c b/src/search/hdestroy.c index 4e1ad3d6..debf6113 100644 --- a/src/search/hdestroy.c +++ b/src/search/hdestroy.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void hdestroy(void) @@ -7,3 +9,6 @@ void hdestroy(void) /* XOPEN(4) */ + + +#endif diff --git a/src/search/hsearch.c b/src/search/hsearch.c index 8dcb3fcb..973d562e 100644 --- a/src/search/hsearch.c +++ b/src/search/hsearch.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> #include <stddef.h> @@ -9,3 +11,6 @@ ENTRY * hsearch(ENTRY item, ACTION action) /* XOPEN(4) */ + + +#endif diff --git a/src/search/insque.c b/src/search/insque.c index 7f9658c6..dd7ced89 100644 --- a/src/search/insque.c +++ b/src/search/insque.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void insque(void * element, void * pred) @@ -7,3 +9,6 @@ void insque(void * element, void * pred) /* XOPEN(400) */ + + +#endif diff --git a/src/search/lfind.c b/src/search/lfind.c index 3990f035..1ede5e29 100644 --- a/src/search/lfind.c +++ b/src/search/lfind.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void * lfind(const void * key, const void * base, size_t * nelp, size_t width, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void * lfind(const void * key, const void * base, size_t * nelp, size_t width, i /* XOPEN(4) */ + + +#endif diff --git a/src/search/lsearch.c b/src/search/lsearch.c index 973ef0bb..846e4dbc 100644 --- a/src/search/lsearch.c +++ b/src/search/lsearch.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void * lsearch(const void * key, void * base, size_t * nelp, size_t width, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void * lsearch(const void * key, void * base, size_t * nelp, size_t width, int ( /* XOPEN(4) */ + + +#endif diff --git a/src/search/remque.c b/src/search/remque.c index 155943f0..6f3be635 100644 --- a/src/search/remque.c +++ b/src/search/remque.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void remque(void * element) @@ -7,3 +9,6 @@ void remque(void * element) /* XOPEN(400) */ + + +#endif diff --git a/src/search/tdelete.c b/src/search/tdelete.c index 2c58f6a0..9d36d553 100644 --- a/src/search/tdelete.c +++ b/src/search/tdelete.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void *tdelete(const void * restrict key, void ** restrict rootp, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void *tdelete(const void * restrict key, void ** restrict rootp, int (*compar) ( /* XOPEN(4) */ + + +#endif diff --git a/src/search/tfind.c b/src/search/tfind.c index 1b5a6334..b11e4441 100644 --- a/src/search/tfind.c +++ b/src/search/tfind.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void *tfind(const void * key, void * const * rootp, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void *tfind(const void * key, void * const * rootp, int (*compar) (const void *, /* XOPEN(4) */ + + +#endif diff --git a/src/search/tsearch.c b/src/search/tsearch.c index c09c80eb..cb2f8891 100644 --- a/src/search/tsearch.c +++ b/src/search/tsearch.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void *tsearch(const void * key, void ** rootp, int (*compar) (const void *, const void *)) @@ -8,3 +10,6 @@ void *tsearch(const void * key, void ** rootp, int (*compar) (const void *, cons /* XOPEN(4) */ + + +#endif diff --git a/src/search/twalk.c b/src/search/twalk.c index 0ee60989..3e6802cd 100644 --- a/src/search/twalk.c +++ b/src/search/twalk.c @@ -1,3 +1,5 @@ +#if 0 + #include <search.h> void twalk(const void * root, void (*action) (const void *, VISIT, int)) @@ -7,3 +9,6 @@ void twalk(const void * root, void (*action) (const void *, VISIT, int)) /* XOPEN(4) */ + + +#endif |
