forked from Imagelibrary/rtems
Add missing prototypes.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user