diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-12 16:32:58 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-12 16:36:39 +0100 |
commit | 3cd3a260a6c623ff695d7bb9981133339e0bfff8 (patch) | |
tree | 83d7d86c03158f8b27e942cbf8ebab6ecaf15f51 /c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c | |
parent | doc: Clarify rate-monotonic statistics (diff) | |
download | rtems-3cd3a260a6c623ff695d7bb9981133339e0bfff8.tar.bz2 |
bsp/mpc8xx: Fix warnings
close #2211
Diffstat (limited to 'c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c index bdbfff2d21..beec6f97e4 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c @@ -50,11 +50,6 @@ uint32_t bsp_clicks_per_usec; /* for PIT driver: OSCCLK */ uint32_t bsp_timer_average_overhead; /* Average overhead of timer in ticks */ uint32_t bsp_timer_least_valid; /* Least valid number from timer */ bool bsp_timer_internal_clock; /* TRUE, when timer runs with CPU clk */ -/* - * Use the shared implementations of the following routines. - * Look in rtems/c/src/lib/libbsp/shared/bsplibc.c. - */ -extern void cpu_init( void); void BSP_panic( char *s) { @@ -75,6 +70,7 @@ void _BSP_Fatal_error( unsigned n) rtems_interrupt_level level; rtems_interrupt_disable( level); + (void) level; printk( "%s PANIC ERROR %u\n", _RTEMS_version, n); @@ -83,7 +79,7 @@ void _BSP_Fatal_error( unsigned n) } } -const char *bsp_tqm_get_cib_string( const char *cib_id) +static const char *bsp_tqm_get_cib_string( const char *cib_id) { char srch_pattern[10] = ""; char *fnd_str; @@ -113,7 +109,7 @@ const char *bsp_tqm_get_cib_string( const char *cib_id) } } -rtems_status_code bsp_tqm_get_cib_uint32( const char *cib_id, +static rtems_status_code bsp_tqm_get_cib_uint32( const char *cib_id, uint32_t *result) { const char *item_ptr; |