From 80d301257c8b02dc2691fa8283bc02c1c84c06a3 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 20 Dec 2004 18:23:43 +0000 Subject: Make some more arrays of pointers const. --- lib/arpa_telnet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/arpa_telnet.h') 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", -- cgit v1.2.3