1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Added 'const' to the string arrays

This commit is contained in:
Daniel Stenberg 2001-08-14 08:16:53 +00:00
parent f35b6e90f5
commit ab6c8a06e0

View File

@ -39,7 +39,7 @@
/* /*
* The telnet options represented as strings * The telnet options represented as strings
*/ */
static char *telnetoptions[]= static const char *telnetoptions[]=
{ {
"BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD", "BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD",
"NAME", "STATUS" "TIMING MARK", "RCTE", "NAME", "STATUS" "TIMING MARK", "RCTE",
@ -78,7 +78,7 @@ static char *telnetoptions[]=
/* /*
* Then those numbers represented as strings: * Then those numbers represented as strings:
*/ */
static char *telnetcmds[]= static const char *telnetcmds[]=
{ {
"EOF", "SUSP", "ABORT", "EOR", "SE", "EOF", "SUSP", "ABORT", "EOR", "SE",
"NOP", "DMARK", "BRK", "IP", "AO", "NOP", "DMARK", "BRK", "IP", "AO",