mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 10:45:09 +08:00
2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/sci.c, startup/bspstart.c, startup/start_c.c, timer/timer.c: Add missing prototypes.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* console/sci.c, startup/bspstart.c, startup/start_c.c,
|
||||
timer/timer.c: Add missing prototypes.
|
||||
|
||||
2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* misc/interr.c: Convention calls for leading underscore on private
|
||||
|
||||
@@ -191,14 +191,14 @@ uint8_t inline SciReadCharNoWait( void ); /* hardware routine */
|
||||
|
||||
void SciSendBreak( void ); /* test routine */
|
||||
|
||||
static int8_t SciRcvBufGetChar(); /* circular rcv buf */
|
||||
static int8_t SciRcvBufGetChar(void); /* circular rcv buf */
|
||||
static void SciRcvBufPutChar( uint8_t); /* circular rcv buf */
|
||||
#if 0
|
||||
static void SciRcvBufFlush( void ); /* unused routine */
|
||||
#endif
|
||||
|
||||
void SciUnitTest(); /* test routine */
|
||||
void SciPrintStats(); /* test routine */
|
||||
void SciUnitTest(void); /* test routine */
|
||||
void SciPrintStats(void); /* test routine */
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
@@ -416,7 +416,7 @@ rtems_isr SciIsr( rtems_vector_number vector )
|
||||
* Scope: private
|
||||
****************************************************************************/
|
||||
|
||||
static int8_t SciRcvBufGetChar()
|
||||
static int8_t SciRcvBufGetChar(void)
|
||||
{
|
||||
rtems_interrupt_level level;
|
||||
uint8_t ch;
|
||||
|
||||
@@ -33,7 +33,7 @@ void bsp_pretasking_hook(void); /* m68k version */
|
||||
|
||||
void bsp_predriver_hook(void)
|
||||
{
|
||||
void Spurious_Initialize();
|
||||
extern void Spurious_Initialize(void);
|
||||
Spurious_Initialize();
|
||||
}
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ void boot_card(int argc, char * const argv[]);
|
||||
* that causes a warning. Not sure how to fix that.
|
||||
*/
|
||||
/* void dumby_start () __attribute__ ((noreturn)); */
|
||||
void start_c ();
|
||||
void start_c(void);
|
||||
|
||||
void start_c() {
|
||||
void start_c(void) {
|
||||
|
||||
/* Synthesizer Control Register */
|
||||
/* see section(s) 4.8 */
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
rtems_boolean Timer_driver_Find_average_overhead;
|
||||
|
||||
extern rtems_isr Clock_isr();
|
||||
extern rtems_isr Clock_isr(void);
|
||||
|
||||
void Timer_initialize( void )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user