aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-11 20:11:51 +0000
committerDan Nicolaescu2009-11-11 20:11:51 +0000
commit9143355208b29540112fd1d4810d44b04b5486cc (patch)
treea4cf9357ff1f0411bbeef8a37cc50f34d0f5664c /src/process.c
parentf4265f6c27b42ce61d3189a99cf9d6247304f9fe (diff)
downloademacs-9143355208b29540112fd1d4810d44b04b5486cc.tar.gz
emacs-9143355208b29540112fd1d4810d44b04b5486cc.zip
* 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/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index fd94731a413..b604f97cffc 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3980,10 +3980,10 @@ format; see the description of ADDRESS in `make-network-process'. */)
3980 3980
3981struct ifflag_def { 3981struct ifflag_def {
3982 int flag_bit; 3982 int flag_bit;
3983 char *flag_sym; 3983 const char *flag_sym;
3984}; 3984};
3985 3985
3986static struct ifflag_def ifflag_table[] = { 3986static const struct ifflag_def ifflag_table[] = {
3987#ifdef IFF_UP 3987#ifdef IFF_UP
3988 { IFF_UP, "up" }, 3988 { IFF_UP, "up" },
3989#endif 3989#endif
@@ -4079,7 +4079,7 @@ FLAGS is the current flags of the interface. */)
4079 if (ioctl (s, SIOCGIFFLAGS, &rq) == 0) 4079 if (ioctl (s, SIOCGIFFLAGS, &rq) == 0)
4080 { 4080 {
4081 int flags = rq.ifr_flags; 4081 int flags = rq.ifr_flags;
4082 struct ifflag_def *fp; 4082 const struct ifflag_def *fp;
4083 int fnum; 4083 int fnum;
4084 4084
4085 any++; 4085 any++;