X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Futil%2Fslab.h;h=5a25adaf7f4aafff47d420285fe38f1691f48c70;hb=f8c0e20152b7f3f0b8d881648083a271ca528c28;hp=e83f8ec1a0e5cd205bfc3b80dbdd4d6b34ef3768;hpb=d8cff811dfb0172684fe3ec01c98fc847b0c17a7;p=mesa.git diff --git a/src/util/slab.h b/src/util/slab.h index e83f8ec1a0e..5a25adaf7f4 100644 --- a/src/util/slab.h +++ b/src/util/slab.h @@ -84,11 +84,11 @@ struct slab_mempool { struct slab_child_pool child; }; -void slab_create(struct slab_mempool *pool, +void slab_create(struct slab_mempool *mempool, unsigned item_size, unsigned num_items); -void slab_destroy(struct slab_mempool *pool); -void *slab_alloc_st(struct slab_mempool *pool); -void slab_free_st(struct slab_mempool *pool, void *ptr); +void slab_destroy(struct slab_mempool *mempool); +void *slab_alloc_st(struct slab_mempool *mempool); +void slab_free_st(struct slab_mempool *mempool, void *ptr); #endif