diff options
Diffstat (limited to 'nuttx/libnx')
-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 |