summaryrefslogtreecommitdiff
path: root/nuttx/graphics
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/graphics
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/graphics')
-rw-r--r--nuttx/graphics/nxbe/nxbe_clipper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_clipper.c b/nuttx/graphics/nxbe/nxbe_clipper.c
index 14e66ef4f..88b6ef2f6 100644
--- a/nuttx/graphics/nxbe/nxbe_clipper.c
+++ b/nuttx/graphics/nxbe/nxbe_clipper.c
@@ -115,7 +115,8 @@ static inline void nxbe_pushrectangle(FAR struct nxbe_clipstack_s *stack,
int mxrects = stack->mxrects ? 2 * stack->mxrects : NX_INITIAL_STACKSIZE;
struct nxbe_cliprect_s *newstack;
- newstack = krealloc(stack->stack, sizeof(struct nxbe_cliprect_s) * mxrects);
+ newstack = kmm_realloc(stack->stack,
+ sizeof(struct nxbe_cliprect_s) * mxrects);
if (!newstack)
{
gdbg("Failed to reallocate stack\n");