commit cdf0f8e68a7e847fabe058fbe02fea7f582795b0
parent f645009a5ee3f987c43abfd78e3dae90ffa04d55
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 11 Apr 2019 12:31:50 +0200
tweaks: drop two 'const' qualifiers, to silence the compiler
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -2411,7 +2411,7 @@ bool fix_spello(const char *word)
/* Internal (integrated) spell checking using the spell program,
* filtered through the sort and uniq programs. Return NULL for normal
* termination, and the error string otherwise. */
-const char *do_int_speller(const char *tempfile_name)
+char *do_int_speller(const char *tempfile_name)
{
char *misspellings, *pointer, *oneword;
long pipesize;
@@ -2603,7 +2603,7 @@ const char *do_int_speller(const char *tempfile_name)
/* External (alternate) spell checking. Return NULL for normal
* termination, and the error string otherwise. */
-const char *do_alt_speller(char *tempfile_name)
+char *do_alt_speller(char *tempfile_name)
{
int alt_spell_status;
size_t current_x_save = openfile->current_x;