Commit 6821243b authored by Eli Zaretskii's avatar Eli Zaretskii

(msdos_stdcolor_name): Remove const from return value.

parent 68a89a25
......@@ -433,7 +433,7 @@ msdos_stdcolor_idx (const char *name)
}
/* Given a color index, return its standard name. */
const char *
char *
msdos_stdcolor_name (int idx)
{
if (idx < 0 || idx >= sizeof (vga_colors) / sizeof (vga_colors[0]))
......
......@@ -39,5 +39,5 @@ extern Lisp_Object Vdos_display_scancodes;
extern Lisp_Object Qmsdos_color_translate;
extern int msdos_stdcolor_idx P_ ((const char *));
extern const char *msdos_stdcolor_name P_ ((int));
extern char *msdos_stdcolor_name P_ ((int));
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment