diff options
Diffstat (limited to 'lwip/port/include/netif/ifcommon.h')
-rw-r--r-- | lwip/port/include/netif/ifcommon.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lwip/port/include/netif/ifcommon.h b/lwip/port/include/netif/ifcommon.h index 15493dc9..51abae1c 100644 --- a/lwip/port/include/netif/ifcommon.h +++ b/lwip/port/include/netif/ifcommon.h @@ -26,6 +26,7 @@ #include <stdint.h> #include <sys/types.h> #include <device/device.h> +#include <errno.h> #include <lwip/netif.h> @@ -42,7 +43,7 @@ struct ifcommon uint16_t flags; /* Callbacks */ - error_t (*init) (struct netif * netif); + err_t (*init) (struct netif * netif); error_t (*terminate) (struct netif * netif); error_t (*open) (struct netif * netif); error_t (*close) (struct netif * netif); @@ -50,7 +51,7 @@ struct ifcommon error_t (*change_flags) (struct netif * netif, uint16_t flags); }; -error_t if_init (struct netif *netif); +err_t if_init (struct netif *netif); error_t if_terminate (struct netif *netif); error_t if_change_flags (struct netif *netif, uint16_t flags); |