diff options
-rw-r--r-- | gdb/utils.c | 2 | ||||
-rw-r--r-- | gdb/utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index e27a881..ea0f65c 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -2303,7 +2303,7 @@ puts_unfiltered (const char *string) /* Return a pointer to N spaces and a null. The pointer is good until the next call to here. */ -char * +const char * n_spaces (int n) { char *t; diff --git a/gdb/utils.h b/gdb/utils.h index 6f3a702..f6fd32f 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -473,7 +473,7 @@ extern void print_spaces (int, struct ui_file *); extern void print_spaces_filtered (int, struct ui_file *); -extern char *n_spaces (int); +extern const char *n_spaces (int); extern void fputstr_filtered (const char *str, int quotr, struct ui_file * stream); |