From e4e64b037bb44d96a12fb79a238c693394a6df58 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Tue, 31 Oct 2006 08:31:50 +0000 Subject: [PATCH] (mac_color_map): Make static const. (mac_color_map_lookup): Add const qualifier to arguments. --- src/macfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2