# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1162283510 0 # Node ID 7791c57d3fc64eb8b768e95141a519fa6f4e78eb # Parent fbd883b271ad64fd2d1b5b0f94e693639a1ae91f (mac_color_map): Make static const. (mac_color_map_lookup): Add const qualifier to arguments. diff -r fbd883b271ad -r 7791c57d3fc6 src/macfns.c --- 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;