diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-12 15:37:32 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-13 10:33:32 -0500 |
commit | 175c85b9804749a1a7e12f0244d2d08c1eaf0d81 (patch) | |
tree | 47376970c48c6984d781dd15f63244268ba61ccd | |
parent | libcpu/arm/at91rm9200/clock/clock.c: Fix warnings (diff) | |
download | rtems-175c85b9804749a1a7e12f0244d2d08c1eaf0d81.tar.bz2 |
libcpu/arm/lpc22xx/clock/clockdrv.c: Fix warnings
-rw-r--r-- | c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c b/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c index 459041ebaa..02f5b8c5ea 100644 --- a/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c +++ b/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c @@ -1,10 +1,11 @@ /* * LPC22XX/LPC21xx clock specific using the System Timer - * Copyright (c) 2006 by Ray <rayx.cn@gmail.com> - * Set the Time0 to generate click for RTEMS * - * This is hardware specific part of the clock driver. At the end of this - * file, the generic part of the driver is #included. + * Set the Time0 to generate click for RTEMS + */ + +/* + * Copyright (c) 2006 by Ray <rayx.cn@gmail.com> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -103,7 +104,7 @@ rtems_irq_connect_data clock_isr_data = { BSP_remove_rtems_irq_handler(&clock_isr_data); \ } while (0) -uint32_t bsp_clock_nanoseconds_since_last_tick(void) +static uint32_t bsp_clock_nanoseconds_since_last_tick(void) { uint32_t clicks; uint32_t microseconds; |