diff options
author | Martin Mares <mj@ucw.cz> | 1998-05-24 14:46:20 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-05-24 14:46:20 +0000 |
commit | d4bc8dc00037e868771fb259a1e7b9ae5e92ed5a (patch) | |
tree | a0e2b60de2823ce7c3fd1c3fa269d7fe8bcacfb9 /lib/slab.c | |
parent | 315aba32b3c5744a040331d653218d15a55455a5 (diff) |
Staticized some variables and functions.
Diffstat (limited to 'lib/slab.c')
-rw-r--r-- | lib/slab.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |