mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-18 22:26:41 +08:00
netifapi: Eliminate wrapper struct netifapi_msg and rename netifapi_msg_msg to netifapi_msg
This commit is contained in:
@@ -49,7 +49,7 @@ extern "C" {
|
||||
typedef void (*netifapi_void_fn)(struct netif *netif);
|
||||
typedef err_t (*netifapi_errt_fn)(struct netif *netif);
|
||||
|
||||
struct netifapi_msg_msg {
|
||||
struct netifapi_msg {
|
||||
#if !LWIP_TCPIP_CORE_LOCKING
|
||||
sys_sem_t sem;
|
||||
#endif /* !LWIP_TCPIP_CORE_LOCKING */
|
||||
@@ -73,11 +73,6 @@ struct netifapi_msg_msg {
|
||||
} msg;
|
||||
};
|
||||
|
||||
struct netifapi_msg {
|
||||
void (* function)(void *msg);
|
||||
struct netifapi_msg_msg msg;
|
||||
};
|
||||
|
||||
|
||||
/* API for application */
|
||||
err_t netifapi_netif_add(struct netif *netif,
|
||||
|
||||
Reference in New Issue
Block a user