From a830f9bfc5034d9472c5dfb0340fe4d4231e1730 Mon Sep 17 00:00:00 2001 From: mbbill Date: Wed, 30 Dec 2009 17:02:32 +0000 Subject: [PATCH] FIX: Removed duplicate function declaration. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@265 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- net/lwip/src/include/netif/ethernetif.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/lwip/src/include/netif/ethernetif.h b/net/lwip/src/include/netif/ethernetif.h index 7555473527..2681de5605 100644 --- a/net/lwip/src/include/netif/ethernetif.h +++ b/net/lwip/src/include/netif/ethernetif.h @@ -15,13 +15,12 @@ struct eth_device struct eth_addr *ethaddr; struct netif *netif; struct rt_semaphore tx_ack; - + /* eth device interface */ struct pbuf* (*eth_rx)(rt_device_t dev); rt_err_t (*eth_tx)(rt_device_t dev, struct pbuf* p); }; -rt_err_t eth_system_device_init(void); rt_err_t eth_device_ready(struct eth_device* dev); rt_err_t eth_device_init(struct eth_device* dev, const char* name); -- GitLab