aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/format.h')
-rw-r--r--gdb/common/format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/format.h b/gdb/common/format.h
index 7bd5b12..ba3d703 100644
--- a/gdb/common/format.h
+++ b/gdb/common/format.h
@@ -51,7 +51,7 @@ struct format_piece
/* Return an array of printf fragments found at the given string, and
rewrite ARG with a pointer to the end of the format string. */
-extern struct format_piece *parse_format_string (char **arg);
+extern struct format_piece *parse_format_string (const char **arg);
/* Given a pointer to an array of format pieces, free any memory that
would have been allocated by parse_format_string. */