Add missing prototypes.

This commit is contained in:
Ralf Corsepius
2008-08-18 11:53:53 +00:00
parent 810647f42c
commit 2b6c0bff89
3 changed files with 4 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ int init_pcif(void){
#ifndef GAISLER_FTAHBRAM #ifndef GAISLER_FTAHBRAM
#define GAISLER_FTAHBRAM 0x50 #define GAISLER_FTAHBRAM 0x50
#endif #endif
int init_onboard_sram(){ int init_onboard_sram(void){
amba_ahb_device ahb; amba_ahb_device ahb;
amba_apb_device apb; amba_apb_device apb;
unsigned int conf, size; unsigned int conf, size;

View File

@@ -14,7 +14,7 @@ void __gnat_install_handler_common (int t1, int t2);
*/ */
void void
__gnat_install_handler () __gnat_install_handler (void)
{ {
__gnat_install_handler_common (0x18, 0x12); __gnat_install_handler_common (0x18, 0x12);
} }

View File

@@ -26,7 +26,7 @@ rtems_boolean Timer_driver_Find_average_overhead;
rtems_boolean Timer_driver_Is_initialized = FALSE; rtems_boolean Timer_driver_Is_initialized = FALSE;
void Timer_initialize() void Timer_initialize(void)
{ {
/* /*
* Timer runs long and accurate enough not to require an interrupt. * Timer runs long and accurate enough not to require an interrupt.
@@ -53,7 +53,7 @@ void Timer_initialize()
/* to start/stop the timer. */ /* to start/stop the timer. */
#define LEAST_VALID 2 /* Don't trust a value lower than this */ #define LEAST_VALID 2 /* Don't trust a value lower than this */
int Read_timer() int Read_timer(void)
{ {
uint32_t total; uint32_t total;