summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1999-08-10 10:29:20 +0000
committerEli Zaretskii <eliz@gnu.org>1999-08-10 10:29:20 +0000
commit6821243b5fcf462f520d69e4b794e44fb00f1837 (patch)
tree7a7cf612ef64656d74a48b846622fa9a53584f93
parent68a89a250a1a322c14a6e2637f64d2a5432977df (diff)
downloademacs-6821243b5fcf462f520d69e4b794e44fb00f1837.tar.gz
(msdos_stdcolor_name): Remove const from return value.
-rw-r--r--src/dosfns.c2
-rw-r--r--src/dosfns.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dosfns.c b/src/dosfns.c
index be287493e16..59fdd67f934 100644
--- a/src/dosfns.c
+++ b/src/dosfns.c
@@ -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]))
diff --git a/src/dosfns.h b/src/dosfns.h
index 54dfcb8fa69..61145c0ed21 100644
--- a/src/dosfns.h
+++ b/src/dosfns.h
@@ -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