forked from Imagelibrary/rtems
bsps: Remove bogus config declaration
Replace it with a proper struct rtems_bsdnet_ifconfig forward declaration. Close #3742.
This commit is contained in:
@@ -50,7 +50,7 @@ int get_perclk1_freq(void);
|
|||||||
/**
|
/**
|
||||||
* @brief Network driver configuration
|
* @brief Network driver configuration
|
||||||
*/
|
*/
|
||||||
extern struct rtems_bsdnet_ifconfig *config;
|
struct rtems_bsdnet_ifconfig;
|
||||||
|
|
||||||
/* Change these to match your board */
|
/* Change these to match your board */
|
||||||
int rtems_mc9328mxl_enet_attach(struct rtems_bsdnet_ifconfig *config,
|
int rtems_mc9328mxl_enet_attach(struct rtems_bsdnet_ifconfig *config,
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ static inline int32_t BSP_get_baud(void) {return 38400;}
|
|||||||
/**
|
/**
|
||||||
* @brief Network driver configuration
|
* @brief Network driver configuration
|
||||||
*/
|
*/
|
||||||
extern struct rtems_bsdnet_ifconfig *config;
|
struct rtems_bsdnet_ifconfig;
|
||||||
|
|
||||||
/* Change these to match your board */
|
/* Change these to match your board */
|
||||||
int rtems_at91rm9200_emac_attach(struct rtems_bsdnet_ifconfig *config, int attaching);
|
int rtems_at91rm9200_emac_attach(struct rtems_bsdnet_ifconfig *config, int attaching);
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ extern "C" {
|
|||||||
/*
|
/*
|
||||||
* Network driver configuration
|
* Network driver configuration
|
||||||
*/
|
*/
|
||||||
extern struct rtems_bsdnet_ifconfig *config;
|
struct rtems_bsdnet_ifconfig;
|
||||||
|
|
||||||
int rtems_au1x00_emac_attach(struct rtems_bsdnet_ifconfig *config,
|
int rtems_au1x00_emac_attach(struct rtems_bsdnet_ifconfig *config,
|
||||||
int attaching);
|
int attaching);
|
||||||
|
|||||||
Reference in New Issue
Block a user