[rtems commit] bsp/lpc32xx: Fix warning

Sebastian Huber sebh at rtems.org
Fri Oct 10 08:19:25 UTC 2014


Module:    rtems
Branch:    master
Commit:    9e34ce09fd1a9b032519e4535db18af2d0e06483
Changeset: http://git.rtems.org/rtems/commit/?id=9e34ce09fd1a9b032519e4535db18af2d0e06483

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Oct 10 10:26:40 2014 +0200

bsp/lpc32xx: Fix warning

---

 c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c b/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c
index b21996d..f87c59b 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c
+++ b/c/src/lib/libbsp/arm/lpc32xx/misc/nand-mlc.c
@@ -203,7 +203,7 @@ void lpc32xx_mlc_write_protection(
   mlc->icr |= MLC_ICR_SOFT_WRITE_PROT;
 }
 
-bool is_word_aligned(const void *data, const void *spare)
+static bool is_word_aligned(const void *data, const void *spare)
 {
   return (((uintptr_t) data) | ((uintptr_t) spare)) % 4 == 0;
 }



More information about the vc mailing list