From 175c85b9804749a1a7e12f0244d2d08c1eaf0d81 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 12 Oct 2014 15:37:32 -0500 Subject: [PATCH] libcpu/arm/lpc22xx/clock/clockdrv.c: Fix warnings --- c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c | 11 ++++++----- 1 file 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 - * 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 * * 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;