Add missing prototypes.

This commit is contained in:
Ralf Corsepius
2008-08-19 09:19:39 +00:00
parent 6a324ea827
commit 1249bb2226
7 changed files with 13 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
#include <bsp.h>
#include <rtems/clockdrv.h>
void bsp_return_to_monitor_trap()
void bsp_return_to_monitor_trap(void)
{
extern void start( void );

View File

@@ -34,9 +34,9 @@
int Ttimer_val;
rtems_boolean Timer_driver_Find_average_overhead;
rtems_isr timerisr();
rtems_isr timerisr(void);
void Timer_initialize()
void Timer_initialize(void)
{
(void) set_vector(timerisr, TIMER_1_VECTOR, 0); /* install ISR */
@@ -56,7 +56,7 @@ void Timer_initialize()
synchronized whith the counter updates*/
#define LEAST_VALID 10 /* Don't trust a value lower than this */
int Read_timer()
int Read_timer(void)
{
uint32_t total;
uint16_t counter_value;

View File

@@ -24,7 +24,7 @@
#include <rtems/zilog/z8036.h>
#include <page_table.h>
void bsp_return_to_monitor_trap()
void bsp_return_to_monitor_trap(void)
{
extern void start( void );

View File

@@ -40,9 +40,9 @@
uint32_t Ttimer_val;
rtems_boolean Timer_driver_Find_average_overhead;
rtems_isr timerisr();
rtems_isr timerisr(void);
void Timer_initialize()
void Timer_initialize(void)
{
(void) set_vector( timerisr, VBR0 * 0x10 + 0x8, 0 );
@@ -63,7 +63,7 @@ void Timer_initialize()
/* (3 countdowns) to start/stop the timer. */
#define LEAST_VALID 10U /* Don't trust a value lower than this */
int Read_timer()
int Read_timer(void)
{
uint32_t total;

View File

@@ -35,7 +35,7 @@ static void setTod(int n, unsigned char d)
tod[n] = ((d/10)<<4)+(d%10);
}
void setRealTimeToRTEMS()
void setRealTimeToRTEMS(void)
{
rtems_time_of_day t;

View File

@@ -48,7 +48,7 @@ uint32_t Ttimer_val;
*/
rtems_boolean Timer_driver_Find_average_overhead;
rtems_isr timerisr();
rtems_isr timerisr(void);
/*
* This routine initializes the Tick Timer 1 on the MVME167 board.
@@ -70,7 +70,7 @@ rtems_isr timerisr();
* boot ROM to provide a 1 MHz clock to the timers. For a 25 MHz MVME167, the
* prescaler value should be 0xE7 (page 2-63).
*/
void Timer_initialize()
void Timer_initialize(void)
{
(void) set_vector( timerisr, TIMER_VECTOR, 0 );
@@ -105,7 +105,7 @@ void Timer_initialize()
* LEAST_VALID is the lowest number this routine should trust. Numbers
* below this are "noise" and zero is returned.
*/
int Read_timer()
int Read_timer(void)
{
uint32_t total;

View File

@@ -49,7 +49,7 @@ extern int RAM_SIZE, RAM_BASE;
#define _RAM_SIZE ((unsigned int)&RAM_SIZE)
#define _RAM_BASE ((unsigned int)&RAM_BASE)
void boot_phase_1()
void boot_phase_1(void)
{
M302_SCR = SCR_DEFAULT;