summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/tcp_debug.h2
-rw-r--r--sys/netinet/tcp_timer.h2
-rw-r--r--sys/sys/protosw.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_debug.h b/sys/netinet/tcp_debug.h
index 773d3e4..6e8214e 100644
--- a/sys/netinet/tcp_debug.h
+++ b/sys/netinet/tcp_debug.h
@@ -68,7 +68,7 @@ struct tcp_debug {
#define TA_DROP 4
#ifdef TANAMES
-static char *tanames[] =
+static const char *tanames[] =
{ "input", "output", "user", "respond", "drop" };
#endif
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
index e26a77c..cb835fb 100644
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -123,7 +123,7 @@
#define TCPTV_DELACK (hz / PR_FASTHZ / 2) /* 100ms timeout */
#ifdef TCPTIMERS
-static char *tcptimers[] =
+static const char *tcptimers[] =
{ "REXMT", "PERSIST", "KEEP", "2MSL" };
#endif
diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h
index 2783e83..e8dd24e 100644
--- a/sys/sys/protosw.h
+++ b/sys/sys/protosw.h
@@ -171,7 +171,7 @@ struct protosw {
#define PRU_NREQ 22
#ifdef PRUREQUESTS
-char *prurequests[] = {
+const char *prurequests[] = {
"ATTACH", "DETACH", "BIND", "LISTEN",
"CONNECT", "ACCEPT", "DISCONNECT", "SHUTDOWN",
"RCVD", "SEND", "ABORT", "CONTROL",
OpenPOWER on IntegriCloud