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/libc | |
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/libc')
-rw-r--r-- | nuttx/libc/lib_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/libc/lib_internal.h b/nuttx/libc/lib_internal.h index 4a7a71e77..829ea968e 100644 --- a/nuttx/libc/lib_internal.h +++ b/nuttx/libc/lib_internal.h @@ -86,11 +86,11 @@ /* Domain-specific allocations */ -# 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_memalign(p,s) kmm_memalign(p,s) -# define lib_free(p) kfree(p) +# define lib_free(p) kmm_free(p) /* User-accessible allocations */ |