don't let bin2hex call strlen
[deliverable/binutils-gdb.git] / gdb / common / format.h
index 7bd5b122ad9888e717ecbf0696aa2e5e6c7174fa..42e4b34bcff794e8d2663bff375a0499a3ecf505 100644 (file)
@@ -1,6 +1,6 @@
 /* Parse a printf-style format string.
 
-   Copyright (C) 1986-2013 Free Software Foundation, Inc.
+   Copyright (C) 1986-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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.  */
This page took 0.03755 seconds and 4 git commands to generate.