diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-24 11:35:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-24 13:00:56 +0200 |
commit | caccc5bfc6fab5672068e6cf6c32c1318a729cba (patch) | |
tree | 10c09895788142fb547eccc0f0c718c2aa444f46 /bsps/powerpc/include | |
parent | smptests: Fix format warnings (diff) | |
download | rtems-caccc5bfc6fab5672068e6cf6c32c1318a729cba.tar.bz2 |
bsps: Fix function declaration warnings
Diffstat (limited to 'bsps/powerpc/include')
-rw-r--r-- | bsps/powerpc/include/bsp/flashPgmPvt.h | 2 | ||||
-rw-r--r-- | bsps/powerpc/include/bsp/pci.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsps/powerpc/include/bsp/flashPgmPvt.h b/bsps/powerpc/include/bsp/flashPgmPvt.h index c26b8ed01d..c85b9c643d 100644 --- a/bsps/powerpc/include/bsp/flashPgmPvt.h +++ b/bsps/powerpc/include/bsp/flashPgmPvt.h @@ -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 */ diff --git a/bsps/powerpc/include/bsp/pci.h b/bsps/powerpc/include/bsp/pci.h index 42dc43875b..b1510b269e 100644 --- a/bsps/powerpc/include/bsp/pci.h +++ b/bsps/powerpc/include/bsp/pci.h @@ -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 */ |