diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 15:27:37 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 15:27:37 -0600 |
commit | 81baf55fd8f4e860516cdfbaa5db2d74b5289bfd (patch) | |
tree | 9de6444939105ffd3aed81aede004f6ba0daf616 /nuttx/libnx/nxcontext.h | |
parent | bdf39bd497954930d2176540594f2e0d046a31af (diff) | |
download | px4-nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.tar.gz px4-nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.tar.bz2 px4-nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.zip |
Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming
Diffstat (limited to 'nuttx/libnx/nxcontext.h')
-rw-r--r-- | nuttx/libnx/nxcontext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/libnx/nxcontext.h b/nuttx/libnx/nxcontext.h index e8b52ece9..52c166205 100644 --- a/nuttx/libnx/nxcontext.h +++ b/nuttx/libnx/nxcontext.h @@ -70,15 +70,15 @@ # define lib_malloc(s) kmalloc(s) # define lib_zalloc(s) kzalloc(s) -# define lib_realloc(p,s) krealloc(p,s) -# define lib_memalign(p,s) krealloc(p,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) /* User-accessible allocations */ # define lib_umalloc(s) kumalloc(s) # define lib_uzalloc(s) kuzalloc(s) -# define lib_urealloc(p,s) kurealloc(p,s) +# define lib_urealloc(p,s) umm_realloc(p,s) # define lib_ufree(p) kufree(p) #else |