mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-07 16:13:38 +08:00
patch #7239: make tcp_state_str pointers constant
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
const char *tcp_state_str[] = {
|
const char * const tcp_state_str[] = {
|
||||||
"CLOSED",
|
"CLOSED",
|
||||||
"LISTEN",
|
"LISTEN",
|
||||||
"SYN_SENT",
|
"SYN_SENT",
|
||||||
|
|||||||
Reference in New Issue
Block a user