summaryrefslogtreecommitdiff
path: root/src/termcap.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2009-11-11 20:11:51 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2009-11-11 20:11:51 +0000
commit9143355208b29540112fd1d4810d44b04b5486cc (patch)
treea4cf9357ff1f0411bbeef8a37cc50f34d0f5664c /src/termcap.c
parentf4265f6c27b42ce61d3189a99cf9d6247304f9fe (diff)
downloademacs-9143355208b29540112fd1d4810d44b04b5486cc.tar.gz
* process.c (ifflag_def): Make flag_sym constant.
(Fnetwork_interface_info): Use a constant pointer. (ifflag_table): * xfns.c (cursor_bits): * xdisp.c (power_letter): * termcap.c (speeds, esctab): * sysdep.c (baud_convert): * keyboard.c (lispy_accent_codes, modifier_names): * image.c (xbm_format, xpm_format, pbm_format, png_format) (jpeg_format, tiff_format, gif_format, svg_format) (interlace_start, interlace_increment, gs_format): * gtkutil.c (separator_names): * fringe.c (swap_nibble): * fns.c (base64_value_to_char, base64_char_to_value): * fileio.c (make_temp_name_tbl): * coding.c (suffixes): Make constant.
Diffstat (limited to 'src/termcap.c')
-rw-r--r--src/termcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/termcap.c b/src/termcap.c
index 46254c67c1c..9b4a7f657f6 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -184,7 +184,7 @@ tgetstr (cap, area)
gives meaning of character following \, or a space if no special meaning.
Sixteen characters per line within the string. */
-static char esctab[]
+static const char esctab[]
= " \057\026 \047\014 \
\025 \015 \
\005 \013 \
@@ -194,7 +194,7 @@ static char esctab[]
gives meaning of character following \, or a space if no special meaning.
Eight characters per line within the string. */
-static char esctab[]
+static const char esctab[]
= " \007\010 \033\014 \
\012 \
\015 \011 \013 \
@@ -348,7 +348,7 @@ char PC;
/* Actual baud rate if positive;
- baud rate / 100 if negative. */
-static int speeds[] =
+static const int speeds[] =
{
0, 50, 75, 110, 135, 150, -2, -3, -6, -12,
-18, -24, -48, -96, -192, -288, -384, -576, -1152