ref: 6187b862b7d9ffc7baf3ed2fb2a203f1815a2e25
parent: 0885ed1e8098c7f1cd54ff528d1b5b56d670e756
author: spew <devnull@localhost>
date: Thu Dec 22 13:44:45 EST 2016
avl: fix man page example
--- a/sys/man/2/avl
+++ b/sys/man/2/avl
@@ -95,12 +95,12 @@
}
int
-get(char *key)
+get(Avltree *t, char *key)
{
Node *h, n;
n.key = key;
- h = (Node*)avllookup(&n);
+ h = (Node*)avllookup(t, &n);
return h ? h->val : -1;
}
\fI\&...\fP