summaryrefslogtreecommitdiff
path: root/lib/slab.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-05-24 14:46:20 +0000
committerMartin Mares <mj@ucw.cz>1998-05-24 14:46:20 +0000
commitd4bc8dc00037e868771fb259a1e7b9ae5e92ed5a (patch)
treea0e2b60de2823ce7c3fd1c3fa269d7fe8bcacfb9 /lib/slab.c
parent315aba32b3c5744a040331d653218d15a55455a5 (diff)
Staticized some variables and functions.
Diffstat (limited to 'lib/slab.c')
-rw-r--r--lib/slab.c10
1 files changed, 5 insertions, 5 deletions
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;