diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-05-06 07:56:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-05-06 07:57:34 +0200 |
commit | 8bd4f61c30c04473fe54211a312c7b237b93c6d8 (patch) | |
tree | 531936d2fe8cae31ebf0e608e7815b9804df0fad /bsps | |
parent | libdl: Do not access the ELF file while the allocator is locked. (diff) | |
download | rtems-8bd4f61c30c04473fe54211a312c7b237b93c6d8.tar.bz2 |
bsps: Remove bogus config declaration
Replace it with a proper struct rtems_bsdnet_ifconfig forward
declaration.
Close #3742.
Diffstat (limited to 'bsps')
-rw-r--r-- | bsps/arm/csb336/include/bsp.h | 2 | ||||
-rw-r--r-- | bsps/arm/csb337/include/bsp.h | 2 | ||||
-rw-r--r-- | bsps/mips/csb350/include/bsp.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bsps/arm/csb336/include/bsp.h b/bsps/arm/csb336/include/bsp.h index 9e6cbf709a..996708fe80 100644 --- a/bsps/arm/csb336/include/bsp.h +++ b/bsps/arm/csb336/include/bsp.h @@ -50,7 +50,7 @@ int get_perclk1_freq(void); /** * @brief Network driver configuration */ -extern struct rtems_bsdnet_ifconfig *config; +struct rtems_bsdnet_ifconfig; /* Change these to match your board */ int rtems_mc9328mxl_enet_attach(struct rtems_bsdnet_ifconfig *config, diff --git a/bsps/arm/csb337/include/bsp.h b/bsps/arm/csb337/include/bsp.h index d5daa63d3e..52f7a57710 100644 --- a/bsps/arm/csb337/include/bsp.h +++ b/bsps/arm/csb337/include/bsp.h @@ -61,7 +61,7 @@ static inline int32_t BSP_get_baud(void) {return 38400;} /** * @brief Network driver configuration */ -extern struct rtems_bsdnet_ifconfig *config; +struct rtems_bsdnet_ifconfig; /* Change these to match your board */ int rtems_at91rm9200_emac_attach(struct rtems_bsdnet_ifconfig *config, int attaching); diff --git a/bsps/mips/csb350/include/bsp.h b/bsps/mips/csb350/include/bsp.h index df39b02150..26dbe3c17b 100644 --- a/bsps/mips/csb350/include/bsp.h +++ b/bsps/mips/csb350/include/bsp.h @@ -44,7 +44,7 @@ extern "C" { /* * Network driver configuration */ -extern struct rtems_bsdnet_ifconfig *config; +struct rtems_bsdnet_ifconfig; int rtems_au1x00_emac_attach(struct rtems_bsdnet_ifconfig *config, int attaching); |