summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-12 13:58:23 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:33:29 -0500
commit459ddfc0f15b89dd78c96ad878f09cc2a5f0ed64 (patch)
tree9e07615360b13062a28be6ac78b773297bf9f5a8 /c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
parentpowerpc/shared/clock/p_clock.c: Fix warnings (diff)
downloadrtems-459ddfc0f15b89dd78c96ad878f09cc2a5f0ed64.tar.bz2
sparc/erc32/clock/ckinit.c: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/clock/ckinit.c')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/clock/ckinit.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c b/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
index 25504f1cea..2afe770b4b 100644
--- a/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
+++ b/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
@@ -1,12 +1,12 @@
/*
- * Clock Tick Device Driver
- *
* This routine initializes the Real Time Clock Counter Timer which is
* part of the MEC on the ERC32 CPU.
*
* The tick frequency is directly programmed to the configured number of
* microseconds per tick.
- *
+ */
+
+/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
@@ -33,7 +33,6 @@
/*
* The Real Time Clock Counter Timer uses this trap type.
*/
-
#define CLOCK_VECTOR ERC32_TRAP_TYPE( ERC32_INTERRUPT_REAL_TIME_CLOCK )
#define Clock_driver_support_at_tick()
@@ -45,7 +44,7 @@
extern int CLOCK_SPEED;
-uint32_t bsp_clock_nanoseconds_since_last_tick(void)
+static uint32_t bsp_clock_nanoseconds_since_last_tick(void)
{
uint32_t clicks;
uint32_t usecs;