FIX: Removed duplicate function declaration.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@265 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
mbbill 2009-12-30 17:02:32 +00:00
parent 54de5a60ba
commit a830f9bfc5
1 changed files with 1 additions and 2 deletions

View File

@ -15,13 +15,12 @@ struct eth_device
struct eth_addr *ethaddr; struct eth_addr *ethaddr;
struct netif *netif; struct netif *netif;
struct rt_semaphore tx_ack; struct rt_semaphore tx_ack;
/* eth device interface */ /* eth device interface */
struct pbuf* (*eth_rx)(rt_device_t dev); struct pbuf* (*eth_rx)(rt_device_t dev);
rt_err_t (*eth_tx)(rt_device_t dev, struct pbuf* p); 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_ready(struct eth_device* dev);
rt_err_t eth_device_init(struct eth_device* dev, const char* name); rt_err_t eth_device_init(struct eth_device* dev, const char* name);