WARNS=n and lint(1) silencer. Declare an array of (const) strings

as const char.
This commit is contained in:
Mark Murray 2002-02-03 11:57:32 +00:00
parent dc20def492
commit 6ebd73f0f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90137

View File

@ -104,7 +104,7 @@ int tcp_acounts[TCP_NSTATES][PRU_NREQ];
#endif
#ifdef TCPSTATES
char *tcpstates[] = {
const char *tcpstates[] = {
"CLOSED", "LISTEN", "SYN_SENT", "SYN_RCVD",
"ESTABLISHED", "CLOSE_WAIT", "FIN_WAIT_1", "CLOSING",
"LAST_ACK", "FIN_WAIT_2", "TIME_WAIT",