projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a08c85
)
gnu search.h has struct qelem...
author
Rich Felker
<dalias@aerifal.cx>
Thu, 22 Sep 2011 01:01:56 +0000
(21:01 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 22 Sep 2011 01:01:56 +0000
(21:01 -0400)
include/search.h
patch
|
blob
|
history
diff --git
a/include/search.h
b/include/search.h
index f1246adef2fec6ce030ecbea0b090dee88064dab..3fa41adc6b2f9b43368f6b5cf57079d39962822e 100644
(file)
--- a/
include/search.h
+++ b/
include/search.h
@@
-33,6
+33,13
@@
void *tfind(const void *, void *const *, int(*)(const void *, const void *));
void *tsearch(const void *, void **, int (*)(const void *, const void *));
void twalk(const void *, void (*)(const void *, VISIT, int));
+#ifdef _GNU_SOURCE
+struct qelem {
+ struct qelem *q_forw, *q_back;
+ char q_data[1];
+};
+#endif
+
#ifdef __cplusplus
}
#endif