mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Corrected function implementation of ip_current_* (void was missing)
This commit is contained in:
parent
bcdffce6ce
commit
e0e9a63e63
@ -76,7 +76,7 @@ static const struct ip_hdr *current_header;
|
|||||||
* @param pcb Pointer to the pcb receiving a packet.
|
* @param pcb Pointer to the pcb receiving a packet.
|
||||||
*/
|
*/
|
||||||
struct netif *
|
struct netif *
|
||||||
ip_current_netif()
|
ip_current_netif(void)
|
||||||
{
|
{
|
||||||
return current_netif;
|
return current_netif;
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ ip_current_netif()
|
|||||||
* @param pcb Pointer to the pcb receiving a packet.
|
* @param pcb Pointer to the pcb receiving a packet.
|
||||||
*/
|
*/
|
||||||
const struct ip_hdr *
|
const struct ip_hdr *
|
||||||
ip_current_header()
|
ip_current_header(void)
|
||||||
{
|
{
|
||||||
return current_header;
|
return current_header;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user