Adjust return-type of rtems_bsdnet_loopattach to int to match with rtems/rtems_bsdnet.h.

This commit is contained in:
Ralf Corsepius
2009-11-02 04:24:14 +00:00
parent 7a20394f99
commit 1901ba4746

View File

@@ -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 */