bsps: Remove bogus config declaration

Replace it with a proper struct rtems_bsdnet_ifconfig forward
declaration.

Close #3742.
This commit is contained in:
Sebastian Huber
2019-05-06 07:56:01 +02:00
parent b36c52097f
commit 8bd4f61c30
3 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

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

View File

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