summaryrefslogtreecommitdiff
path: root/lib/resource.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-12-06 11:59:18 +0000
committerMartin Mares <mj@ucw.cz>1998-12-06 11:59:18 +0000
commitb35d72ac668c52ef0755cedba89bdca54bd995ac (patch)
treed968e72890f19ff3d2986c318787bd697e257a31 /lib/resource.h
parent2d9290e973b9cfc909057a0409152e020d1c29db (diff)
Name cleanups as suggested by Pavel:
- cfg_strcpy() -> cfg_strdup() - mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*] Anyway, it might be better to stop ranting about names and do some *real* work.
Diffstat (limited to 'lib/resource.h')
-rw-r--r--lib/resource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/resource.h b/lib/resource.h
index b7f18b01..6a50c331 100644
--- a/lib/resource.h
+++ b/lib/resource.h
@@ -47,12 +47,12 @@ void mb_free(void *);
/* Memory pools with linear allocation */
-typedef struct mempool mempool;
+typedef struct linpool linpool;
-mempool *mp_new(pool *, unsigned blk);
-void *mp_alloc(mempool *, unsigned size); /* Aligned */
-void *mp_allocu(mempool *, unsigned size); /* Unaligned */
-void *mp_allocz(mempool *, unsigned size); /* With clear */
+linpool *lp_new(pool *, unsigned blk);
+void *lp_alloc(linpool *, unsigned size); /* Aligned */
+void *lp_allocu(linpool *, unsigned size); /* Unaligned */
+void *lp_allocz(linpool *, unsigned size); /* With clear */
/* Slabs */