summaryrefslogtreecommitdiffstats
path: root/sys/sys/protosw.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-08-16 09:07:59 +0000
committeralfred <alfred@FreeBSD.org>2002-08-16 09:07:59 +0000
commit30a4b05c041006c463281b6876ff6aebd91eeae2 (patch)
treefe768951191d1b1fb518595d43ce7b5193117694 /sys/sys/protosw.h
parentae8fed6b90f9bed6f1d441fcfb52c4058636e065 (diff)
downloadFreeBSD-src-30a4b05c041006c463281b6876ff6aebd91eeae2.zip
FreeBSD-src-30a4b05c041006c463281b6876ff6aebd91eeae2.tar.gz
make the strings for tcptimers, tanames and prurequests const to silence
warnings.
Diffstat (limited to 'sys/sys/protosw.h')
-rw-r--r--sys/sys/protosw.h2
1 files changed, 1 insertions, 1 deletions
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