diff options
Diffstat (limited to 'gdb/common/format.c')
-rw-r--r-- | gdb/common/format.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/common/format.c b/gdb/common/format.c index 161ff55..5803818 100644 --- a/gdb/common/format.c +++ b/gdb/common/format.c @@ -28,11 +28,12 @@ #include "format.h" struct format_piece * -parse_format_string (char **arg) +parse_format_string (const char **arg) { - char *s, *f, *string; - char *prev_start; - char *percent_loc; + const char *s; + char *f, *string; + const char *prev_start; + const char *percent_loc; char *sub_start, *current_substring; struct format_piece *pieces; int next_frag; |