summaryrefslogtreecommitdiff
path: root/nuttx/libnx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-31 15:27:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-31 15:27:37 -0600
commit81baf55fd8f4e860516cdfbaa5db2d74b5289bfd (patch)
tree9de6444939105ffd3aed81aede004f6ba0daf616 /nuttx/libnx
parentbdf39bd497954930d2176540594f2e0d046a31af (diff)
downloadnuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.tar.gz
nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.tar.bz2
nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.zip
Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming
Diffstat (limited to 'nuttx/libnx')
-rw-r--r--nuttx/libnx/nxcontext.h6
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