Rename kfree to kmm_free for consistency with other naming conventions

This commit is contained in:
Gregory Nutt
2014-08-31 17:04:02 -06:00
parent 204e5b1162
commit 54fa3b0b59
137 changed files with 646 additions and 641 deletions
+3 -3
View File
@@ -55,10 +55,10 @@
#if (defined(CONFIG_BUILD_PROTECTED) && defined(__KERNEL__)) || \
defined(CONFIG_BUILD_KERNEL)
# include <nuttx/kmalloc.h>
# define lib_malloc(s) kmalloc(s)
# define lib_zalloc(s) kzalloc(s)
# define lib_malloc(s) kmm_malloc(s)
# define lib_zalloc(s) kmm_zalloc(s)
# define lib_realloc(p,s) kmm_realloc(p,s)
# define lib_free(p) kfree(p)
# define lib_free(p) kmm_free(p)
#else
# include <cstdlib>
# define lib_malloc(s) malloc(s)