diff options
| author | guo <[email protected]> | 2021-06-13 09:39:52 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-13 09:39:52 +0800 |
| commit | b24447a60a6941568d58dd1ca358951674924ed2 (patch) | |
| tree | 0176988db5538dc03ba69277a25bdceb2d42250d /src/mempool.c | |
| parent | b516cbd2ae6f2f111a1aa6a977f9a20bada6305d (diff) | |
| parent | 4fa92ae3f6766863035238da9ae2b46622abb8a9 (diff) | |
Merge pull request #4785 from mysterywolf/endif
[kernel] 补充endif后缀注释
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 */ |
