Mercurial > emacs
changeset 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 | fbd883b271ad |
children | 4d143b423b75 |
files | src/macfns.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;