diff options
author | markm <markm@FreeBSD.org> | 2002-02-03 11:57:32 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-02-03 11:57:32 +0000 |
commit | 8110fb90ccbbceefe6a5207b6f7ef8ca66b1db80 (patch) | |
tree | 202714f8fca2ef0f3b6c503b31147c75bdbfcf03 /sys/netinet/tcp_fsm.h | |
parent | 08c0b74dd59e51ffeffadf02915c9d0f243d00b4 (diff) | |
download | FreeBSD-src-8110fb90ccbbceefe6a5207b6f7ef8ca66b1db80.zip FreeBSD-src-8110fb90ccbbceefe6a5207b6f7ef8ca66b1db80.tar.gz |
WARNS=n and lint(1) silencer. Declare an array of (const) strings
as const char.
Diffstat (limited to 'sys/netinet/tcp_fsm.h')
-rw-r--r-- | sys/netinet/tcp_fsm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h index 37752c4..c8f87f6 100644 --- a/sys/netinet/tcp_fsm.h +++ b/sys/netinet/tcp_fsm.h @@ -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", |