bsps: Fix function declaration warnings

This commit is contained in:
Sebastian Huber
2018-07-24 11:35:09 +02:00
parent 91f39a5587
commit caccc5bfc6
10 changed files with 20 additions and 17 deletions

View File

@@ -261,7 +261,7 @@ struct flash_bsp_ops {
*/
int (*flash_wp)(int bank, int enbl);
/* read a running us clock (for polling timeout) */
uint32_t (*read_us_timer)();
uint32_t (*read_us_timer)(void);
};
/* This must be provided by the BSP */

View File

@@ -48,7 +48,7 @@ void detect_host_bridge(void);
void FixupPCI( const struct _int_map *, int (*swizzler)(int,int) );
/* FIXME: This probably belongs into rtems/pci.h */
extern unsigned char pci_bus_count();
extern unsigned char pci_bus_count(void);
/* FIXME: This also is generic and could go into rtems/pci.h */