Mercurial > emacs
diff src/macfns.c @ 73572:7791c57d3fc6
(mac_color_map): Make static const.
(mac_color_map_lookup): Add const qualifier to arguments.
| author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
|---|---|
| date | Tue, 31 Oct 2006 08:31:50 +0000 |
| parents | e243e9e31c7a |
| children | 6b0e5b6fca4f 02cf29720f31 |
line wrap: on
line diff
--- a/src/macfns.c Tue Oct 31 08:31:30 2006 +0000 +++ b/src/macfns.c Tue Oct 31 08:31:50 2006 +0000 @@ -251,7 +251,7 @@ char *name; } colormap_t; -colormap_t mac_color_map[] = +static const colormap_t mac_color_map[] = { { RGB_TO_ULONG(255, 250, 250), "snow" }, { RGB_TO_ULONG(248, 248, 255), "ghost white" }, @@ -1009,7 +1009,7 @@ Lisp_Object mac_color_map_lookup (colorname) - char *colorname; + const char *colorname; { Lisp_Object ret = Qnil; int i;
