[PATCH 15/54] sim68000/clock/clockdrv.c: Fix warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 13 15:36:59 UTC 2014
---
c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c b/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c
index 911cc4f..3cf9818 100644
--- a/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c
+++ b/c/src/lib/libbsp/m68k/sim68000/clock/clockdrv.c
@@ -24,7 +24,7 @@ typedef struct {
/* 8 microseconds per click, 125,000 per second */
/* XXX should check that microseconds_per_tick is >= 8 */
-void Clock_driver_support_initialize_hardware(void)
+static void Clock_driver_support_initialize_hardware(void)
{
timer_hw_t *t = TIMER_BASE;
@@ -34,14 +34,14 @@ void Clock_driver_support_initialize_hardware(void)
t->cr = 0xA1; /* enable timer */
}
-void Clock_driver_support_at_tick(void)
+static void Clock_driver_support_at_tick(void)
{
timer_hw_t *t = TIMER_BASE;
t->sr = 0xA0; /* Negate timer interrupt request */
}
-void Clock_driver_support_shutdown_hardware(void)
+static void Clock_driver_support_shutdown_hardware(void)
{
timer_hw_t *t = TIMER_BASE;
--
1.9.3
More information about the devel
mailing list