diff options
| author | Dan Nicolaescu | 2009-11-11 20:11:51 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-11 20:11:51 +0000 |
| commit | 9143355208b29540112fd1d4810d44b04b5486cc (patch) | |
| tree | a4cf9357ff1f0411bbeef8a37cc50f34d0f5664c /src | |
| parent | f4265f6c27b42ce61d3189a99cf9d6247304f9fe (diff) | |
| download | emacs-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')
| -rw-r--r-- | src/ChangeLog | 18 | ||||
| -rw-r--r-- | src/coding.c | 2 | ||||
| -rw-r--r-- | src/fileio.c | 2 | ||||
| -rw-r--r-- | src/fns.c | 4 | ||||
| -rw-r--r-- | src/fringe.c | 2 | ||||
| -rw-r--r-- | src/gtkutil.c | 2 | ||||
| -rw-r--r-- | src/image.c | 22 | ||||
| -rw-r--r-- | src/keyboard.c | 4 | ||||
| -rw-r--r-- | src/process.c | 6 | ||||
| -rw-r--r-- | src/sysdep.c | 2 | ||||
| -rw-r--r-- | src/termcap.c | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 2 | ||||
| -rw-r--r-- | src/xfns.c | 8 |
13 files changed, 45 insertions, 35 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c3d4e291242..5389118f622 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,22 @@ | |||
| 1 | 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * process.c (ifflag_def): Make flag_sym constant. | ||
| 4 | (Fnetwork_interface_info): Use a constant pointer. | ||
| 5 | (ifflag_table): | ||
| 6 | * xfns.c (cursor_bits): | ||
| 7 | * xdisp.c (power_letter): | ||
| 8 | * termcap.c (speeds, esctab): | ||
| 9 | * sysdep.c (baud_convert): | ||
| 10 | * keyboard.c (lispy_accent_codes, modifier_names): | ||
| 11 | * image.c (xbm_format, xpm_format, pbm_format, png_format) | ||
| 12 | (jpeg_format, tiff_format, gif_format, svg_format) | ||
| 13 | (interlace_start, interlace_increment, gs_format): | ||
| 14 | * gtkutil.c (separator_names): | ||
| 15 | * fringe.c (swap_nibble): | ||
| 16 | * fns.c (base64_value_to_char, base64_char_to_value): | ||
| 17 | * fileio.c (make_temp_name_tbl): | ||
| 18 | * coding.c (suffixes): Make constant. | ||
| 19 | |||
| 3 | * frame.c (make_initial_frame): | 20 | * frame.c (make_initial_frame): |
| 4 | * buffer.c (init_buffer_once): Use make_pure_c_string instead of | 21 | * buffer.c (init_buffer_once): Use make_pure_c_string instead of |
| 5 | build_string. | 22 | build_string. |
| @@ -18,6 +35,7 @@ | |||
| 18 | * lread.c (syms_of_lread): | 35 | * lread.c (syms_of_lread): |
| 19 | * keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of | 36 | * keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of |
| 20 | build_string. | 37 | build_string. |
| 38 | |||
| 21 | * doc.c (Fsnarf_documentation): Purecopy Vbuild_files. | 39 | * doc.c (Fsnarf_documentation): Purecopy Vbuild_files. |
| 22 | 40 | ||
| 23 | 2009-11-10 Stefan Monnier <monnier@iro.umontreal.ca> | 41 | 2009-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
diff --git a/src/coding.c b/src/coding.c index b13766e3076..1d838db3685 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -9621,7 +9621,7 @@ HIGHESTP non-nil means just return the highest priority one. */) | |||
| 9621 | return Fnreverse (val); | 9621 | return Fnreverse (val); |
| 9622 | } | 9622 | } |
| 9623 | 9623 | ||
| 9624 | static char *suffixes[] = { "-unix", "-dos", "-mac" }; | 9624 | static const char *const suffixes[] = { "-unix", "-dos", "-mac" }; |
| 9625 | 9625 | ||
| 9626 | static Lisp_Object | 9626 | static Lisp_Object |
| 9627 | make_subsidiaries (base) | 9627 | make_subsidiaries (base) |
diff --git a/src/fileio.c b/src/fileio.c index bdab1d6180d..1625c3d2547 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -657,7 +657,7 @@ In Unix-syntax, this function just removes the final slash. */) | |||
| 657 | STRING_MULTIBYTE (directory)); | 657 | STRING_MULTIBYTE (directory)); |
| 658 | } | 658 | } |
| 659 | 659 | ||
| 660 | static char make_temp_name_tbl[64] = | 660 | static const char make_temp_name_tbl[64] = |
| 661 | { | 661 | { |
| 662 | 'A','B','C','D','E','F','G','H', | 662 | 'A','B','C','D','E','F','G','H', |
| 663 | 'I','J','K','L','M','N','O','P', | 663 | 'I','J','K','L','M','N','O','P', |
| @@ -3189,7 +3189,7 @@ The data read from the system are decoded using `locale-coding-system'. */) | |||
| 3189 | while (IS_BASE64_IGNORABLE (c)) | 3189 | while (IS_BASE64_IGNORABLE (c)) |
| 3190 | 3190 | ||
| 3191 | /* Table of characters coding the 64 values. */ | 3191 | /* Table of characters coding the 64 values. */ |
| 3192 | static char base64_value_to_char[64] = | 3192 | static const char base64_value_to_char[64] = |
| 3193 | { | 3193 | { |
| 3194 | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', /* 0- 9 */ | 3194 | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', /* 0- 9 */ |
| 3195 | 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', /* 10-19 */ | 3195 | 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', /* 10-19 */ |
| @@ -3201,7 +3201,7 @@ static char base64_value_to_char[64] = | |||
| 3201 | }; | 3201 | }; |
| 3202 | 3202 | ||
| 3203 | /* Table of base64 values for first 128 characters. */ | 3203 | /* Table of base64 values for first 128 characters. */ |
| 3204 | static short base64_char_to_value[128] = | 3204 | static const short base64_char_to_value[128] = |
| 3205 | { | 3205 | { |
| 3206 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0- 9 */ | 3206 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0- 9 */ |
| 3207 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 10- 19 */ | 3207 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 10- 19 */ |
diff --git a/src/fringe.c b/src/fringe.c index 2cea24b1dcd..febb7a53011 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -1330,7 +1330,7 @@ If BITMAP overrides a standard fringe bitmap, the original bitmap is restored. | |||
| 1330 | */ | 1330 | */ |
| 1331 | 1331 | ||
| 1332 | #if defined (HAVE_X_WINDOWS) | 1332 | #if defined (HAVE_X_WINDOWS) |
| 1333 | static unsigned char swap_nibble[16] = { | 1333 | static const unsigned char swap_nibble[16] = { |
| 1334 | 0x0, 0x8, 0x4, 0xc, /* 0000 1000 0100 1100 */ | 1334 | 0x0, 0x8, 0x4, 0xc, /* 0000 1000 0100 1100 */ |
| 1335 | 0x2, 0xa, 0x6, 0xe, /* 0010 1010 0110 1110 */ | 1335 | 0x2, 0xa, 0x6, 0xe, /* 0010 1010 0110 1110 */ |
| 1336 | 0x1, 0x9, 0x5, 0xd, /* 0001 1001 0101 1101 */ | 1336 | 0x1, 0x9, 0x5, 0xd, /* 0001 1001 0101 1101 */ |
diff --git a/src/gtkutil.c b/src/gtkutil.c index ba9d95e0325..e972679a572 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -2013,7 +2013,7 @@ make_menu_item (utf8_label, utf8_key, item, group) | |||
| 2013 | /* Return non-zero if LABEL specifies a separator (GTK only has one | 2013 | /* Return non-zero if LABEL specifies a separator (GTK only has one |
| 2014 | separator type) */ | 2014 | separator type) */ |
| 2015 | 2015 | ||
| 2016 | static char* separator_names[] = { | 2016 | static const char* separator_names[] = { |
| 2017 | "space", | 2017 | "space", |
| 2018 | "no-line", | 2018 | "no-line", |
| 2019 | "single-line", | 2019 | "single-line", |
diff --git a/src/image.c b/src/image.c index 55ceec326c4..8cd8355acb7 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -2338,7 +2338,7 @@ enum xbm_keyword_index | |||
| 2338 | /* Vector of image_keyword structures describing the format | 2338 | /* Vector of image_keyword structures describing the format |
| 2339 | of valid XBM image specifications. */ | 2339 | of valid XBM image specifications. */ |
| 2340 | 2340 | ||
| 2341 | static struct image_keyword xbm_format[XBM_LAST] = | 2341 | static const struct image_keyword xbm_format[XBM_LAST] = |
| 2342 | { | 2342 | { |
| 2343 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 2343 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 2344 | {":file", IMAGE_STRING_VALUE, 0}, | 2344 | {":file", IMAGE_STRING_VALUE, 0}, |
| @@ -3138,7 +3138,7 @@ enum xpm_keyword_index | |||
| 3138 | /* Vector of image_keyword structures describing the format | 3138 | /* Vector of image_keyword structures describing the format |
| 3139 | of valid XPM image specifications. */ | 3139 | of valid XPM image specifications. */ |
| 3140 | 3140 | ||
| 3141 | static struct image_keyword xpm_format[XPM_LAST] = | 3141 | static const struct image_keyword xpm_format[XPM_LAST] = |
| 3142 | { | 3142 | { |
| 3143 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 3143 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 3144 | {":file", IMAGE_STRING_VALUE, 0}, | 3144 | {":file", IMAGE_STRING_VALUE, 0}, |
| @@ -5087,7 +5087,7 @@ enum pbm_keyword_index | |||
| 5087 | /* Vector of image_keyword structures describing the format | 5087 | /* Vector of image_keyword structures describing the format |
| 5088 | of valid user-defined image specifications. */ | 5088 | of valid user-defined image specifications. */ |
| 5089 | 5089 | ||
| 5090 | static struct image_keyword pbm_format[PBM_LAST] = | 5090 | static const struct image_keyword pbm_format[PBM_LAST] = |
| 5091 | { | 5091 | { |
| 5092 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 5092 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 5093 | {":file", IMAGE_STRING_VALUE, 0}, | 5093 | {":file", IMAGE_STRING_VALUE, 0}, |
| @@ -5509,7 +5509,7 @@ enum png_keyword_index | |||
| 5509 | /* Vector of image_keyword structures describing the format | 5509 | /* Vector of image_keyword structures describing the format |
| 5510 | of valid user-defined image specifications. */ | 5510 | of valid user-defined image specifications. */ |
| 5511 | 5511 | ||
| 5512 | static struct image_keyword png_format[PNG_LAST] = | 5512 | static const struct image_keyword png_format[PNG_LAST] = |
| 5513 | { | 5513 | { |
| 5514 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 5514 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 5515 | {":data", IMAGE_STRING_VALUE, 0}, | 5515 | {":data", IMAGE_STRING_VALUE, 0}, |
| @@ -6111,7 +6111,7 @@ enum jpeg_keyword_index | |||
| 6111 | /* Vector of image_keyword structures describing the format | 6111 | /* Vector of image_keyword structures describing the format |
| 6112 | of valid user-defined image specifications. */ | 6112 | of valid user-defined image specifications. */ |
| 6113 | 6113 | ||
| 6114 | static struct image_keyword jpeg_format[JPEG_LAST] = | 6114 | static const struct image_keyword jpeg_format[JPEG_LAST] = |
| 6115 | { | 6115 | { |
| 6116 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 6116 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 6117 | {":data", IMAGE_STRING_VALUE, 0}, | 6117 | {":data", IMAGE_STRING_VALUE, 0}, |
| @@ -6684,7 +6684,7 @@ enum tiff_keyword_index | |||
| 6684 | /* Vector of image_keyword structures describing the format | 6684 | /* Vector of image_keyword structures describing the format |
| 6685 | of valid user-defined image specifications. */ | 6685 | of valid user-defined image specifications. */ |
| 6686 | 6686 | ||
| 6687 | static struct image_keyword tiff_format[TIFF_LAST] = | 6687 | static const struct image_keyword tiff_format[TIFF_LAST] = |
| 6688 | { | 6688 | { |
| 6689 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 6689 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 6690 | {":data", IMAGE_STRING_VALUE, 0}, | 6690 | {":data", IMAGE_STRING_VALUE, 0}, |
| @@ -7136,7 +7136,7 @@ enum gif_keyword_index | |||
| 7136 | /* Vector of image_keyword structures describing the format | 7136 | /* Vector of image_keyword structures describing the format |
| 7137 | of valid user-defined image specifications. */ | 7137 | of valid user-defined image specifications. */ |
| 7138 | 7138 | ||
| 7139 | static struct image_keyword gif_format[GIF_LAST] = | 7139 | static const struct image_keyword gif_format[GIF_LAST] = |
| 7140 | { | 7140 | { |
| 7141 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 7141 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 7142 | {":data", IMAGE_STRING_VALUE, 0}, | 7142 | {":data", IMAGE_STRING_VALUE, 0}, |
| @@ -7280,8 +7280,8 @@ gif_read_from_memory (file, buf, len) | |||
| 7280 | /* Load GIF image IMG for use on frame F. Value is non-zero if | 7280 | /* Load GIF image IMG for use on frame F. Value is non-zero if |
| 7281 | successful. */ | 7281 | successful. */ |
| 7282 | 7282 | ||
| 7283 | static int interlace_start[] = {0, 4, 2, 1}; | 7283 | static const int interlace_start[] = {0, 4, 2, 1}; |
| 7284 | static int interlace_increment[] = {8, 8, 4, 2}; | 7284 | static const int interlace_increment[] = {8, 8, 4, 2}; |
| 7285 | 7285 | ||
| 7286 | static int | 7286 | static int |
| 7287 | gif_load (f, img) | 7287 | gif_load (f, img) |
| @@ -7575,7 +7575,7 @@ enum svg_keyword_index | |||
| 7575 | /* Vector of image_keyword structures describing the format | 7575 | /* Vector of image_keyword structures describing the format |
| 7576 | of valid user-defined image specifications. */ | 7576 | of valid user-defined image specifications. */ |
| 7577 | 7577 | ||
| 7578 | static struct image_keyword svg_format[SVG_LAST] = | 7578 | static const struct image_keyword svg_format[SVG_LAST] = |
| 7579 | { | 7579 | { |
| 7580 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 7580 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 7581 | {":data", IMAGE_STRING_VALUE, 0}, | 7581 | {":data", IMAGE_STRING_VALUE, 0}, |
| @@ -7982,7 +7982,7 @@ enum gs_keyword_index | |||
| 7982 | /* Vector of image_keyword structures describing the format | 7982 | /* Vector of image_keyword structures describing the format |
| 7983 | of valid user-defined image specifications. */ | 7983 | of valid user-defined image specifications. */ |
| 7984 | 7984 | ||
| 7985 | static struct image_keyword gs_format[GS_LAST] = | 7985 | static const struct image_keyword gs_format[GS_LAST] = |
| 7986 | { | 7986 | { |
| 7987 | {":type", IMAGE_SYMBOL_VALUE, 1}, | 7987 | {":type", IMAGE_SYMBOL_VALUE, 1}, |
| 7988 | {":pt-width", IMAGE_POSITIVE_INTEGER_VALUE, 1}, | 7988 | {":pt-width", IMAGE_POSITIVE_INTEGER_VALUE, 1}, |
diff --git a/src/keyboard.c b/src/keyboard.c index 3b4f0c54eb7..5ea4f350809 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -4770,7 +4770,7 @@ static Lisp_Object drag_n_drop_syms; | |||
| 4770 | /* This is a list of keysym codes for special "accent" characters. | 4770 | /* This is a list of keysym codes for special "accent" characters. |
| 4771 | It parallels lispy_accent_keys. */ | 4771 | It parallels lispy_accent_keys. */ |
| 4772 | 4772 | ||
| 4773 | static int lispy_accent_codes[] = | 4773 | static const int lispy_accent_codes[] = |
| 4774 | { | 4774 | { |
| 4775 | #ifdef XK_dead_circumflex | 4775 | #ifdef XK_dead_circumflex |
| 4776 | XK_dead_circumflex, | 4776 | XK_dead_circumflex, |
| @@ -6484,7 +6484,7 @@ apply_modifiers_uncached (modifiers, base, base_len, base_len_byte) | |||
| 6484 | } | 6484 | } |
| 6485 | 6485 | ||
| 6486 | 6486 | ||
| 6487 | static char *modifier_names[] = | 6487 | static const char *modifier_names[] = |
| 6488 | { | 6488 | { |
| 6489 | "up", "down", "drag", "click", "double", "triple", 0, 0, | 6489 | "up", "down", "drag", "click", "double", "triple", 0, 0, |
| 6490 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 6490 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
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 | ||
| 3981 | struct ifflag_def { | 3981 | struct ifflag_def { |
| 3982 | int flag_bit; | 3982 | int flag_bit; |
| 3983 | char *flag_sym; | 3983 | const char *flag_sym; |
| 3984 | }; | 3984 | }; |
| 3985 | 3985 | ||
| 3986 | static struct ifflag_def ifflag_table[] = { | 3986 | static 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++; |
diff --git a/src/sysdep.c b/src/sysdep.c index fc252e87aa8..b983694baf9 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -168,7 +168,7 @@ struct utimbuf { | |||
| 168 | #define LPASS8 0 | 168 | #define LPASS8 0 |
| 169 | #endif | 169 | #endif |
| 170 | 170 | ||
| 171 | static int baud_convert[] = | 171 | static const int baud_convert[] = |
| 172 | { | 172 | { |
| 173 | 0, 50, 75, 110, 135, 150, 200, 300, 600, 1200, | 173 | 0, 50, 75, 110, 135, 150, 200, 300, 600, 1200, |
| 174 | 1800, 2400, 4800, 9600, 19200, 38400 | 174 | 1800, 2400, 4800, 9600, 19200, 38400 |
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) | |||
| 184 | gives meaning of character following \, or a space if no special meaning. | 184 | gives meaning of character following \, or a space if no special meaning. |
| 185 | Sixteen characters per line within the string. */ | 185 | Sixteen characters per line within the string. */ |
| 186 | 186 | ||
| 187 | static char esctab[] | 187 | static const char esctab[] |
| 188 | = " \057\026 \047\014 \ | 188 | = " \057\026 \047\014 \ |
| 189 | \025 \015 \ | 189 | \025 \015 \ |
| 190 | \005 \013 \ | 190 | \005 \013 \ |
| @@ -194,7 +194,7 @@ static char esctab[] | |||
| 194 | gives meaning of character following \, or a space if no special meaning. | 194 | gives meaning of character following \, or a space if no special meaning. |
| 195 | Eight characters per line within the string. */ | 195 | Eight characters per line within the string. */ |
| 196 | 196 | ||
| 197 | static char esctab[] | 197 | static const char esctab[] |
| 198 | = " \007\010 \033\014 \ | 198 | = " \007\010 \033\014 \ |
| 199 | \012 \ | 199 | \012 \ |
| 200 | \015 \011 \013 \ | 200 | \015 \011 \013 \ |
| @@ -348,7 +348,7 @@ char PC; | |||
| 348 | /* Actual baud rate if positive; | 348 | /* Actual baud rate if positive; |
| 349 | - baud rate / 100 if negative. */ | 349 | - baud rate / 100 if negative. */ |
| 350 | 350 | ||
| 351 | static int speeds[] = | 351 | static const int speeds[] = |
| 352 | { | 352 | { |
| 353 | 0, 50, 75, 110, 135, 150, -2, -3, -6, -12, | 353 | 0, 50, 75, 110, 135, 150, -2, -3, -6, -12, |
| 354 | -18, -24, -48, -96, -192, -288, -384, -576, -1152 | 354 | -18, -24, -48, -96, -192, -288, -384, -576, -1152 |
diff --git a/src/xdisp.c b/src/xdisp.c index 46cd45a9eba..568fa0fdd04 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -18077,7 +18077,7 @@ pint2str (buf, width, d) | |||
| 18077 | readable" representation of the nonnegative integer D to BUF using | 18077 | readable" representation of the nonnegative integer D to BUF using |
| 18078 | a minimal field width WIDTH. D should be smaller than 999.5e24. */ | 18078 | a minimal field width WIDTH. D should be smaller than 999.5e24. */ |
| 18079 | 18079 | ||
| 18080 | static const char power_letter[] = | 18080 | static const const char power_letter[] = |
| 18081 | { | 18081 | { |
| 18082 | 0, /* not used */ | 18082 | 0, /* not used */ |
| 18083 | 'k', /* kilo */ | 18083 | 'k', /* kilo */ |
diff --git a/src/xfns.c b/src/xfns.c index 9d4c1f80637..0a041a7dc9d 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -2885,14 +2885,6 @@ x_icon (f, parms) | |||
| 2885 | background, border and mouse colors; also create the | 2885 | background, border and mouse colors; also create the |
| 2886 | mouse cursor and the gray border tile. */ | 2886 | mouse cursor and the gray border tile. */ |
| 2887 | 2887 | ||
| 2888 | static char cursor_bits[] = | ||
| 2889 | { | ||
| 2890 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 2891 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 2892 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 2893 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | ||
| 2894 | }; | ||
| 2895 | |||
| 2896 | static void | 2888 | static void |
| 2897 | x_make_gc (f) | 2889 | x_make_gc (f) |
| 2898 | struct frame *f; | 2890 | struct frame *f; |