summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/tfind.c
diff options
context:
space:
mode:
authormillert <>2002-02-16 21:27:50 +0000
committermillert <>2002-02-16 21:27:50 +0000
commit052e020be6be85be6238c44b8386a61f8db7b6a4 (patch)
tree4cf8f905bd37027527533678516a258fa89e2696 /src/lib/libc/stdlib/tfind.c
parentee0af55ed65515812050f3b9a8d431c941b73eb8 (diff)
downloadopenbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.zip
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'src/lib/libc/stdlib/tfind.c')
-rw-r--r--src/lib/libc/stdlib/tfind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/tfind.c b/src/lib/libc/stdlib/tfind.c
index 9e5bd4b0f2..5c3b8c17f5 100644
--- a/src/lib/libc/stdlib/tfind.c
+++ b/src/lib/libc/stdlib/tfind.c
@@ -22,7 +22,7 @@ void *
22tfind(vkey, vrootp, compar) 22tfind(vkey, vrootp, compar)
23 const void *vkey; /* key to be found */ 23 const void *vkey; /* key to be found */
24 void *const *vrootp; /* address of the tree root */ 24 void *const *vrootp; /* address of the tree root */
25 int (*compar) __P((const void *, const void *)); 25 int (*compar)(const void *, const void *);
26{ 26{
27 char *key = (char *)vkey; 27 char *key = (char *)vkey;
28 node **rootp = (node **)vrootp; 28 node **rootp = (node **)vrootp;