diff options
Diffstat (limited to 'components/net')
| -rw-r--r-- | components/net/lwip-1.4.1/src/netif/ethernetif.c | 4 | ||||
| -rw-r--r-- | components/net/lwip-2.0.2/src/netif/ethernetif.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/components/net/lwip-1.4.1/src/netif/ethernetif.c b/components/net/lwip-1.4.1/src/netif/ethernetif.c index 9fbb883f36..7a8cde12da 100644 --- a/components/net/lwip-1.4.1/src/netif/ethernetif.c +++ b/components/net/lwip-1.4.1/src/netif/ethernetif.c @@ -434,9 +434,9 @@ int eth_system_device_init(void) RT_ASSERT(result == RT_EOK); #endif - return (int)result; + return (int)result; } -INIT_DEVICE_EXPORT(eth_system_device_init); +INIT_PREV_EXPORT(eth_system_device_init); #ifdef RT_USING_FINSH #include <finsh.h> diff --git a/components/net/lwip-2.0.2/src/netif/ethernetif.c b/components/net/lwip-2.0.2/src/netif/ethernetif.c index 09d6140b16..08d1242e71 100644 --- a/components/net/lwip-2.0.2/src/netif/ethernetif.c +++ b/components/net/lwip-2.0.2/src/netif/ethernetif.c @@ -452,7 +452,7 @@ int eth_system_device_init(void) return (int)result; } -INIT_DEVICE_EXPORT(eth_system_device_init); +INIT_PREV_EXPORT(eth_system_device_init); #ifdef RT_USING_FINSH #include <finsh.h> |
