diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-14 20:35:23 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-14 20:35:23 +0000 |
commit | 100be925a50e9bc2634749aef30454ef91892fae (patch) | |
tree | f230448745d378a5aa76fdbab1af2fb63699fd6e /gdb/ui-file.c | |
parent | f34f21507d436eccdc711811486bdb2a3fff0fd7 (diff) | |
download | gdb-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.c | 2 |
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); |