summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/ohash/ohash_do.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/ohash/ohash_do.c b/lib/libc/ohash/ohash_do.c
index c5fc551d763..efc3e9b2570 100644
--- a/lib/libc/ohash/ohash_do.c
+++ b/lib/libc/ohash/ohash_do.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohash_do.c,v 1.1 2001/03/02 13:27:07 espie Exp $ */
+/* $OpenBSD: ohash_do.c,v 1.2 2001/03/02 15:47:53 espie Exp $ */
/* ex:ts=8 sw=4:
*/
@@ -94,7 +94,7 @@ ohash_remove(h, i)
h->t[i].p = DELETED;
h->deleted++;
if (h->deleted >= MINDELETED && 4 * h->deleted > h->total)
- hash_resize(h);
+ ohash_resize(h);
return result;
}
@@ -125,7 +125,7 @@ ohash_insert(h, i, p)
h->t[i].p = p;
/* Arbitrary resize boundary. Tweak if not efficient enough. */
if (++h->total * 4 > h->size * 3)
- hash_resize(h);
+ ohash_resize(h);
}
return p;
}