summaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-14 20:35:23 +0000
committerTom Tromey <tromey@redhat.com>2013-05-14 20:35:23 +0000
commit100be925a50e9bc2634749aef30454ef91892fae (patch)
treef230448745d378a5aa76fdbab1af2fb63699fd6e /gdb/ui-file.c
parentf34f21507d436eccdc711811486bdb2a3fff0fd7 (diff)
downloadgdb-100be925a50e9bc2634749aef30454ef91892fae.tar.gz
* ui-file.c (gdb_fopen): Make arguments const.
* ui-file.h (gdb_fopen): Make arguments const.
Diffstat (limited to 'gdb/ui-file.c')
-rw-r--r--gdb/ui-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ui-file.c b/gdb/ui-file.c
index 5671abdc538..cf5a86d033c 100644
--- a/gdb/ui-file.c
+++ b/gdb/ui-file.c
@@ -663,7 +663,7 @@ stdio_fileopen (FILE *file)
}
struct ui_file *
-gdb_fopen (char *name, char *mode)
+gdb_fopen (const char *name, const char *mode)
{
FILE *f = gdb_fopen_cloexec (name, mode);