ip_addr_any and _broadcast are type-declared as being const.

This commit is contained in:
likewise
2003-04-11 08:10:17 +00:00
parent 0eb3d92782
commit f6a8994521
2 changed files with 7 additions and 4 deletions

View File

@@ -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 };
/*-----------------------------------------------------------------------------------*/