From d4bc8dc00037e868771fb259a1e7b9ae5e92ed5a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 24 May 1998 14:46:20 +0000 Subject: Staticized some variables and functions. --- lib/slab.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/slab.c') diff --git a/lib/slab.c b/lib/slab.c index e71c7de2..ad691f71 100644 --- a/lib/slab.c +++ b/lib/slab.c @@ -27,10 +27,10 @@ struct slab { list objs; }; -void slab_free(resource *r); -void slab_dump(resource *r); +static void slab_free(resource *r); +static void slab_dump(resource *r); -struct resclass sl_class = { +static struct resclass sl_class = { "Slab", sizeof(struct slab), slab_free, @@ -64,7 +64,7 @@ sl_free(slab *s, void *oo) xfree(o); } -void +static void slab_free(resource *r) { slab *s = (slab *) r; @@ -74,7 +74,7 @@ slab_free(resource *r) xfree(o); } -void +static void slab_dump(resource *r) { slab *s = (slab *) r; -- cgit v1.2.3