Skip to content
Snippets Groups Projects
Commit a230142e authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Removed obsolete function from mempool.

 + cleanup in lists.c.

 Refs #89
parent 0e66152d
No related branches found
No related tags found
No related merge requests found
......@@ -177,4 +177,3 @@ size_t list_size(const list *l)
return count;
}
......@@ -232,11 +232,6 @@ mp_alloc(struct mempool *pool, unsigned size)
return mp_alloc_fast(pool, size);
}
void *mp_alloc_mm_ctx_wrap(void *ctx, size_t size)
{
return mp_alloc((struct mempool *)ctx, size);
}
void *
mp_alloc_noalign(struct mempool *pool, unsigned size)
{
......
......@@ -126,11 +126,6 @@ void *mp_alloc_internal(struct mempool *pool, unsigned size) LIKE_MALLOC;
**/
void *mp_alloc(struct mempool *pool, unsigned size);
/**
* This function wraps @mp_alloc() to work with mm_ctx_t.
**/
void *mp_alloc_mm_ctx_wrap(void *ctx, size_t size);
/**
* The same as @mp_alloc(), but the result may be unaligned.
**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment