forked from Imagelibrary/rtems
Adjust return-type of rtems_bsdnet_loopattach to int to match with rtems/rtems_bsdnet.h.
This commit is contained in:
@@ -44,7 +44,7 @@ rtems_task Init(rtems_task_argument argument);
|
|||||||
/*
|
/*
|
||||||
* Network configuration
|
* Network configuration
|
||||||
*/
|
*/
|
||||||
extern void rtems_bsdnet_loopattach(struct rtems_bsdnet_ifconfig *conf, int attaching);
|
extern int rtems_bsdnet_loopattach(struct rtems_bsdnet_ifconfig *conf, int attaching);
|
||||||
|
|
||||||
static struct rtems_bsdnet_ifconfig loopback_config = {
|
static struct rtems_bsdnet_ifconfig loopback_config = {
|
||||||
"lo0", /* name */
|
"lo0", /* name */
|
||||||
|
|||||||
Reference in New Issue
Block a user