From: Daniel Stenberg Date: Tue, 14 Aug 2001 08:16:53 +0000 (+0000) Subject: Added 'const' to the string arrays X-Git-Tag: curl-7_8_1~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab6c8a06e046b172a24da81a45f3331af4a27a93;p=thirdparty%2Fcurl.git Added 'const' to the string arrays --- diff --git a/lib/arpa_telnet.h b/lib/arpa_telnet.h index 1f1890fb71..201b7bbc4d 100644 --- a/lib/arpa_telnet.h +++ b/lib/arpa_telnet.h @@ -39,7 +39,7 @@ /* * The telnet options represented as strings */ -static char *telnetoptions[]= +static const char *telnetoptions[]= { "BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD", "NAME", "STATUS" "TIMING MARK", "RCTE", @@ -78,7 +78,7 @@ static char *telnetoptions[]= /* * Then those numbers represented as strings: */ -static char *telnetcmds[]= +static const char *telnetcmds[]= { "EOF", "SUSP", "ABORT", "EOR", "SE", "NOP", "DMARK", "BRK", "IP", "AO",