diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2004-11-07 18:00:30 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2004-11-07 18:00:30 -0500 |
commit | b52ca53f448d0f9c01708a6ce2b03be3a71d3993 (patch) | |
tree | ef7406c859d566bc94cd1a77e9d5b4d539c64436 /WWW/Library/Implementation/SGML.c | |
parent | 1c6757afa67bdaba78ca9d902165126e54bd8061 (diff) | |
download | lynx-snapshots-b52ca53f448d0f9c01708a6ce2b03be3a71d3993.tar.gz |
snapshot of project "lynx", label v2-8-6dev_8
Diffstat (limited to 'WWW/Library/Implementation/SGML.c')
-rw-r--r-- | WWW/Library/Implementation/SGML.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c index 54910903..684efd50 100644 --- a/WWW/Library/Implementation/SGML.c +++ b/WWW/Library/Implementation/SGML.c @@ -224,9 +224,9 @@ struct _HTStream { }; #ifndef NO_LYNX_TRACE -static char *state_name(sgml_state n) +static const char *state_name(sgml_state n) { - char *result = "?"; + const char *result = "?"; /* *INDENT-OFF* */ switch (n) { case S_attr: result = "S_attr"; break; @@ -4506,12 +4506,12 @@ History: int TREAT_SJIS = 1; -void JISx0201TO0208_EUC(register unsigned char IHI, - register unsigned char ILO, - register unsigned char *OHI, - register unsigned char *OLO) +void JISx0201TO0208_EUC(unsigned char IHI, + unsigned char ILO, + unsigned char *OHI, + unsigned char *OLO) { - static char *table[] = + static const char *table[] = { "\241\243", /* A1,A3 */ "\241\326", /* A1,D6 */ |