From: YAMAMOTO Mitsuharu Date: Tue, 31 Oct 2006 08:31:50 +0000 (+0000) Subject: (mac_color_map): Make static const. X-Git-Tag: emacs-pretest-22.0.91~441 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e4e64b037bb44d96a12fb79a238c693394a6df58;p=emacs.git (mac_color_map): Make static const. (mac_color_map_lookup): Add const qualifier to arguments. --- diff --git a/src/macfns.c b/src/macfns.c index 1b3a7223b63..9cb9e3e0496 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -251,7 +251,7 @@ typedef struct colormap_t 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 @@ colormap_t mac_color_map[] = Lisp_Object mac_color_map_lookup (colorname) - char *colorname; + const char *colorname; { Lisp_Object ret = Qnil; int i;