* lib/tsearch.c (tfind): Convert definition to ANSI C.
+2018-05-13 Bruno Haible <bruno@clisp.org>
+
+ tsearch: Move from K&R C to ANSI C.
+ * lib/tsearch.c (tfind): Convert definition to ANSI C.
+
2018-05-13 Bruno Haible <bruno@clisp.org>
tsearch: Fix compilation error on Android.
KEY is the key to be located, ROOTP is the address of tree root,
COMPAR the ordering function. */
void *
-__tfind (key, vrootp, compar)
- const void *key;
- void *const *vrootp;
- __compar_fn_t compar;
+__tfind (const void *key, void *const *vrootp, __compar_fn_t compar)
{
node *rootp = (node *) vrootp;