From 1e1f5d5462cac9c77ed0a66f54736ba74072f865 Mon Sep 17 00:00:00 2001 From: kieranm Date: Mon, 20 Sep 2004 17:00:31 +0000 Subject: [PATCH] Kieran Mansley - kjm25@cam.ac.uk - 20th September 2004 * Change the return type of ethernetif_init from void to err_t to avoid confusing porters. --- src/netif/ethernetif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/netif/ethernetif.c b/src/netif/ethernetif.c index 790978c9..22bea8f4 100644 --- a/src/netif/ethernetif.c +++ b/src/netif/ethernetif.c @@ -273,7 +273,7 @@ arp_timer(void *arg) * */ -void +err_t ethernetif_init(struct netif *netif) { struct ethernetif *ethernetif; @@ -299,5 +299,7 @@ ethernetif_init(struct netif *netif) etharp_init(); sys_timeout(ARP_TMR_INTERVAL, arp_timer, NULL); + + return ERR_OK; }