diff options
| author | Meco Man <[email protected]> | 2021-06-10 18:33:47 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-06-10 18:39:43 +0800 |
| commit | 8b53609f574209b11f649f946466fd0e0244eb60 (patch) | |
| tree | 447693cc4e1e3be43613ba915a0e9e9ac7140f52 /src/mempool.c | |
| parent | e019a57ff30b9fda5aa43fdc97eac5cca80bbc3b (diff) | |
[kernel] 补充endif后缀注释(3)
Diffstat (limited to 'src/mempool.c')
| -rw-r--r-- | src/mempool.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mempool.c b/src/mempool.c index 1de48940d7..5ac87d2bc8 100644 --- a/src/mempool.c +++ b/src/mempool.c @@ -54,7 +54,7 @@ void rt_mp_free_sethook(void (*hook)(struct rt_mempool *mp, void *block)) } /**@}*/ -#endif +#endif /* RT_USING_HOOK */ /** * @addtogroup MM @@ -290,7 +290,7 @@ rt_err_t rt_mp_delete(rt_mp_t mp) return RT_EOK; } RTM_EXPORT(rt_mp_delete); -#endif +#endif /* RT_USING_HEAP */ /** * This function will allocate a block from memory pool @@ -451,5 +451,4 @@ RTM_EXPORT(rt_mp_free); /**@}*/ -#endif - +#endif /* RT_USING_MEMPOOL */ |
