From 788cace2cb783db0b4df6338f89e6b026ae23e9b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 28 Nov 2009 04:15:19 -0800 Subject: Code cleanup. All private functions static. Private stuff in regex module not exposed in header. Etc. --- hash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index cc0e79f1..66666c81 100644 --- a/hash.c +++ b/hash.c @@ -128,17 +128,17 @@ val hash_obj(val obj) return num(ll_hash(obj)); } -val hash_equal(val self, val other) +static val hash_equal(val self, val other) { return self == other ? t : nil; } -void hash_destroy(val hash) +static void hash_destroy(val hash) { free(hash->co.handle); } -void hash_mark(val hash) +static void hash_mark(val hash) { struct hash *h = (struct hash *) hash->co.handle; cnum i; @@ -194,7 +194,7 @@ static struct cobj_ops hash_ops = { 0 }; -void hash_grow(struct hash *h) +static void hash_grow(struct hash *h) { cnum i; cnum new_modulus = 2 * h->modulus; -- cgit v1.2.3