summaryrefslogtreecommitdiff
path: root/gdb/ui-file.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-14 20:35:24 +0000
committerTom Tromey <tromey@redhat.com>2013-05-14 20:35:24 +0000
commit23b3a2c3d1cc06cd1f9b2d5f72ab2f1c913f675d (patch)
treece3a980ab81ed2d1152579719f1112d395acaee9 /gdb/ui-file.h
parentca623f82a4ce0c6428a3e42aa13667d65bd97c9e (diff)
* ui-file.c (gdb_fopen): Make arguments const.
* ui-file.h (gdb_fopen): Make arguments const.
Diffstat (limited to 'gdb/ui-file.h')
-rw-r--r--gdb/ui-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ui-file.h b/gdb/ui-file.h
index 4196524de0..9fef68c656 100644
--- a/gdb/ui-file.h
+++ b/gdb/ui-file.h
@@ -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