From 6821243b5fcf462f520d69e4b794e44fb00f1837 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 10 Aug 1999 10:29:20 +0000 Subject: [PATCH] (msdos_stdcolor_name): Remove const from return value. --- src/dosfns.c | 2 +- src/dosfns.h | 2 +- 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 -- 2.39.5