diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
commit | 7482b7ad0f60724e593a8919783444ef79f4c79e (patch) | |
tree | 396e7019c35eb0f49f430c1132972eedc292a752 /nuttx/libxx | |
parent | 2ad3a4c2a2b56a721180faa3c689110d86d90359 (diff) | |
download | px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.gz px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.bz2 px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.zip |
Rename kfree to kmm_free for consistency with other naming conventions
Diffstat (limited to 'nuttx/libxx')
-rw-r--r-- | nuttx/libxx/libxx_internal.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/libxx/libxx_internal.hxx b/nuttx/libxx/libxx_internal.hxx index 1763d4858..6669e9005 100644 --- a/nuttx/libxx/libxx_internal.hxx +++ b/nuttx/libxx/libxx_internal.hxx @@ -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) |