mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-24 17:17:03 +08:00
ip_addr_any and _broadcast are type-declared as being const.
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
#include "lwip/ip_addr.h"
|
||||
#include "lwip/inet.h"
|
||||
|
||||
struct ip_addr ip_addr_any = { 0x00000000UL };
|
||||
struct ip_addr ip_addr_broadcast = { 0xffffffffUL };
|
||||
const struct ip_addr ip_addr_any = { 0x00000000UL };
|
||||
const struct ip_addr ip_addr_broadcast = { 0xffffffffUL };
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user