common-defs.h: include <stdarg.h> before <stdio.h>
[deliverable/binutils-gdb.git] / gdb / common / format.h
index 4c6c1b956732a0ab0c9081bd3b72664e055a2f86..42e4b34bcff794e8d2663bff375a0499a3ecf505 100644 (file)
@@ -1,6 +1,6 @@
 /* Parse a printf-style format string.
 
-   Copyright (C) 1986-2012 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.024559 seconds and 4 git commands to generate.