diff options
| author | Dan Nicolaescu | 2010-08-08 14:03:45 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-08-08 14:03:45 -0700 |
| commit | 675e2c697bc8a0ff827fcb33297f63f4cc7ecad3 (patch) | |
| tree | 5b0adfdb3d4cce40512b0fad0de9088d21dfb694 /src/dispextern.h | |
| parent | 25717ca11cae32e191e3dc9318562190d682f425 (diff) | |
| download | emacs-675e2c697bc8a0ff827fcb33297f63f4cc7ecad3.tar.gz emacs-675e2c697bc8a0ff827fcb33297f63f4cc7ecad3.zip | |
Use const char* instead of char*.
* src/xterm.c (x_create_toolkit_scroll_bar):
* src/xfont.c (xfont_list_pattern):
* src/xfns.c (x_default_scroll_bar_color_parameter)
(xic_create_fontsetname, x_default_font_parameter)
(x_screen_planes):
* src/xdisp.c (c_string_pos, number_of_chars, reseat_to_string)
(store_mode_line_string, decode_mode_spec, display_string):
* src/menu.c (digest_single_submenu):
* src/keymap.h (initial_define_key, initial_define_lispy_key):
* src/keymap.c (initial_define_key, initial_define_lispy_key):
* src/image.c (image_error, image_keyword):
* src/gtkutil.h (xg_create_widget, xg_create_scroll_bar):
* src/gtkutil.c (xg_create_widget, xg_create_scroll_bar):
* src/ftfont.c (struct fc_charset_table, ftfont_spec_pattern)
(ftfont_list, ftfont_match):
* src/frame.c (frame_parm_table):
* src/font.h (font_intern_prop, font_parse_xlfd, font_parse_fcname)
(font_unparse_fcname, font_unparse_fcname, font_open_by_name)
(font_add_log, font_deferred_log):
* src/font.c (font_intern_prop, font_parse_xlfd, font_parse_fcname)
(font_unparse_fcname, font_unparse_fcname, font_open_by_name)
(font_add_log, font_deferred_log):
* src/emacs.c (argmatch):
* src/dispextern.h (struct it):
* src/coding.c (ENCODE_DESIGNATION):
* src/charset.c (define_charset_internal): Use const.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 5461e9ff496..44ea4349250 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2050,7 +2050,7 @@ struct it | |||
| 2050 | /* C string to iterate over. Non-null means get characters from | 2050 | /* C string to iterate over. Non-null means get characters from |
| 2051 | this string, otherwise characters are read from current_buffer | 2051 | this string, otherwise characters are read from current_buffer |
| 2052 | or it->string. */ | 2052 | or it->string. */ |
| 2053 | unsigned char *s; | 2053 | const unsigned char *s; |
| 2054 | 2054 | ||
| 2055 | /* Number of characters in the string (s, or it->string) we iterate | 2055 | /* Number of characters in the string (s, or it->string) we iterate |
| 2056 | over. */ | 2056 | over. */ |