diff options
author | Bruno Haible <bruno@clisp.org> | 2018-05-14 00:04:54 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-05-14 00:04:54 +0200 |
commit | 11458762fb6fab692049f0cbecbc171ec3ebd2a2 (patch) | |
tree | c4f1b4e85ca86326b63341e7133ff11a53729a35 /lib/tsearch.c | |
parent | b239920976585555781e8ed56ee8ba95ef2060f7 (diff) | |
download | gnulib-11458762fb6fab692049f0cbecbc171ec3ebd2a2.tar.gz |
tsearch: Move from K&R C to ANSI C.
* lib/tsearch.c (tfind): Convert definition to ANSI C.
Diffstat (limited to 'lib/tsearch.c')
-rw-r--r-- | lib/tsearch.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/tsearch.c b/lib/tsearch.c index dabd760631..80132da120 100644 --- a/lib/tsearch.c +++ b/lib/tsearch.c @@ -333,10 +333,7 @@ weak_alias (__tsearch, tsearch) 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; |