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);