opcodes/
[binutils-gdb.git] / gdb / ui-file.h
index 4196524de0602ccef9ef0aa2b74aa4d22c5e40d3..9fef68c656dd6fa9c039ff97728e296e2ebded06 100644 (file)
@@ -130,7 +130,7 @@ extern struct ui_file *mem_fileopen (void);
 extern struct ui_file *stdio_fileopen (FILE *file);
 
 /* Open NAME returning an STDIO based UI_FILE.  */
-extern struct ui_file *gdb_fopen (char *name, char *mode);
+extern struct ui_file *gdb_fopen (const char *name, const char *mode);
 
 /* Create a file which writes to both ONE and TWO.  CLOSE_ONE
    and CLOSE_TWO indicate whether the original files should be