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.
This commit is contained in:
kieranm 2004-09-20 17:00:31 +00:00
parent 19d8ffe177
commit 1e1f5d5462

View File

@ -273,7 +273,7 @@ arp_timer(void *arg)
* *
*/ */
void err_t
ethernetif_init(struct netif *netif) ethernetif_init(struct netif *netif)
{ {
struct ethernetif *ethernetif; struct ethernetif *ethernetif;
@ -299,5 +299,7 @@ ethernetif_init(struct netif *netif)
etharp_init(); etharp_init();
sys_timeout(ARP_TMR_INTERVAL, arp_timer, NULL); sys_timeout(ARP_TMR_INTERVAL, arp_timer, NULL);
return ERR_OK;
} }