]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - lib/resource.h
Slab allocator can free the blocks without knowing the parent structure
[thirdparty/bird.git] / lib / resource.h
index ed9e109d987ba399f979f41cded6242e736d5301..8b180603566b3eb9ffe83af9b9cc355d90f233e6 100644 (file)
@@ -100,7 +100,7 @@ typedef struct slab slab;
 slab *sl_new(pool *, unsigned size);
 void *sl_alloc(slab *);
 void *sl_allocz(slab *);
-void sl_free(slab *, void *);
+void sl_free(void *);
 
 /*
  * Low-level memory allocation functions, please don't use