[rtems commit] leon2/.../ckinit.c: Change get nanoseconds handler to static
Joel Sherrill
joel at rtems.org
Mon Sep 30 17:02:43 UTC 2013
Module: rtems
Branch: master
Commit: d349636b2acb6422ad83a2c9db930fd4f1a4dc8d
Changeset: http://git.rtems.org/rtems/commit/?id=d349636b2acb6422ad83a2c9db930fd4f1a4dc8d
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Sep 30 12:08:13 2013 -0500
leon2/.../ckinit.c: Change get nanoseconds handler to static
---
c/src/lib/libbsp/sparc/leon2/clock/ckinit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c b/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c
index a9c9db6..d2d883c 100644
--- a/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c
+++ b/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c
@@ -57,7 +57,7 @@ extern int CLOCK_SPEED;
LEON_REG.Timer_Control_1 = 0; \
} 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 usecs;
More information about the vc
mailing list