mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 05:01:02 -08:00
(mac_color_map): Make static const.
(mac_color_map_lookup): Add const qualifier to arguments.
This commit is contained in:
parent
37a9ab8638
commit
e4e64b037b
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue