voron

experimental ARM OS
git clone git://git.2f30.org/voron
Log | Files | Refs | README | LICENSE

commit 2454703086e2aa12187ece8ec3e14ee936d3b920
parent 7f6eda4aad62feb19ed3a299250ba3f4492ae9f4
Author: oblique <psyberbits@gmail.com>
Date:   Wed, 24 Jul 2013 11:13:11 +0300

pool.{c,h}: rename free_item to free_items

Diffstat:
Minclude/pool.h | 2+-
Mkernel/pool.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/pool.h b/include/pool.h @@ -8,6 +8,6 @@ typedef int item_id; struct pool *init_pool(void); void free_pool(struct pool *pool); void *alloc_item(struct pool *pool, size_t n, item_id id); -void free_item(struct pool *pool, item_id id); +void free_items(struct pool *pool, item_id id); #endif /* __POOL_H */ diff --git a/kernel/pool.c b/kernel/pool.c @@ -103,7 +103,7 @@ alloc_item(struct pool *pool, size_t n, item_id id) * free the underlying memory, it just marks those items * as unused. */ void -free_item(struct pool *pool, item_id id) +free_items(struct pool *pool, item_id id) { struct item *item; size_t i;