summaryrefslogtreecommitdiffstats
path: root/lib/resource.h
diff options
context:
space:
mode:
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 b7f18b0..6a50c33 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 */