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/graphics/nxbe/nxbe_clipper.c | |
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/graphics/nxbe/nxbe_clipper.c')
-rw-r--r-- | nuttx/graphics/nxbe/nxbe_clipper.c | 3 |
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"); |