summaryrefslogtreecommitdiff
path: root/lib/arpa_telnet.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2004-12-20 18:23:43 +0000
committerDan Fandrich <dan@coneharvesters.com>2004-12-20 18:23:43 +0000
commit80d301257c8b02dc2691fa8283bc02c1c84c06a3 (patch)
tree691c4f3a2f4785072e150530e8d2043135fe780b /lib/arpa_telnet.h
parent0e591829453b3624d7604100f3cc21136dcaf628 (diff)
downloadcurl-80d301257c8b02dc2691fa8283bc02c1c84c06a3.tar.gz
Make some more arrays of pointers const.
Diffstat (limited to 'lib/arpa_telnet.h')
-rw-r--r--lib/arpa_telnet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arpa_telnet.h b/lib/arpa_telnet.h
index 5359ff19e..e6a04dcef 100644
--- a/lib/arpa_telnet.h
+++ b/lib/arpa_telnet.h
@@ -39,7 +39,7 @@
/*
* The telnet options represented as strings
*/
-static const char *telnetoptions[]=
+static const char * const telnetoptions[]=
{
"BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD",
"NAME", "STATUS", "TIMING MARK", "RCTE",
@@ -78,7 +78,7 @@ static const char *telnetoptions[]=
/*
* Then those numbers represented as strings:
*/
-static const char *telnetcmds[]=
+static const char * const telnetcmds[]=
{
"EOF", "SUSP", "ABORT", "EOR", "SE",
"NOP", "DMARK", "BRK", "IP", "AO",