diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 19:11:02 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 19:11:02 +0300 |
| commit | 1f7f2251faaef84cd441088f02a66440fa7b59cc (patch) | |
| tree | 3c69df6d51ad96521aa267a71c6f0b50b432a17e /common/mem_nodes.c | |
| parent | d7cb08134102b7a2410c48d2a1802193f9031e00 (diff) | |
| download | kmi-1f7f2251faaef84cd441088f02a66440fa7b59cc.tar.gz kmi-1f7f2251faaef84cd441088f02a66440fa7b59cc.zip | |
make pmem.c slightly easier to read.
Diffstat (limited to 'common/mem_nodes.c')
| -rw-r--r-- | common/mem_nodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/mem_nodes.c b/common/mem_nodes.c index d4f7d2e..927634b 100644 --- a/common/mem_nodes.c +++ b/common/mem_nodes.c @@ -15,12 +15,12 @@ static struct node_root root; -void init_mem_blocks() +void init_mem_nodes() { init_nodes(&root, sizeof(struct mem_region)); } -void destroy_mem_blocks() +void destroy_mem_nodes() { destroy_nodes(&root); } |
