aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-08-08 14:03:45 -0700
committerDan Nicolaescu2010-08-08 14:03:45 -0700
commit675e2c697bc8a0ff827fcb33297f63f4cc7ecad3 (patch)
tree5b0adfdb3d4cce40512b0fad0de9088d21dfb694 /src/image.c
parent25717ca11cae32e191e3dc9318562190d682f425 (diff)
downloademacs-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/image.c')
-rw-r--r--src/image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c
index 0ae8bf10399..34d89d2e195 100644
--- a/src/image.c
+++ b/src/image.c
@@ -598,7 +598,7 @@ Lisp_Object Vimage_cache_eviction_delay;
598 598
599static Lisp_Object define_image_type (struct image_type *type, int loaded); 599static Lisp_Object define_image_type (struct image_type *type, int loaded);
600static struct image_type *lookup_image_type (Lisp_Object symbol); 600static struct image_type *lookup_image_type (Lisp_Object symbol);
601static void image_error (char *format, Lisp_Object, Lisp_Object); 601static void image_error (const char *format, Lisp_Object, Lisp_Object);
602static void x_laplace (struct frame *, struct image *); 602static void x_laplace (struct frame *, struct image *);
603static void x_emboss (struct frame *, struct image *); 603static void x_emboss (struct frame *, struct image *);
604static int x_build_heuristic_mask (struct frame *, struct image *, 604static int x_build_heuristic_mask (struct frame *, struct image *,
@@ -699,7 +699,7 @@ valid_image_p (Lisp_Object object)
699 therefore simply displays a message. */ 699 therefore simply displays a message. */
700 700
701static void 701static void
702image_error (char *format, Lisp_Object arg1, Lisp_Object arg2) 702image_error (const char *format, Lisp_Object arg1, Lisp_Object arg2)
703{ 703{
704 add_to_log (format, arg1, arg2); 704 add_to_log (format, arg1, arg2);
705} 705}
@@ -731,7 +731,7 @@ enum image_value_type
731struct image_keyword 731struct image_keyword
732{ 732{
733 /* Name of keyword. */ 733 /* Name of keyword. */
734 char *name; 734 const char *name;
735 735
736 /* The type of value allowed. */ 736 /* The type of value allowed. */
737 enum image_value_type type; 737 enum image_value_type type;