diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-14 20:35:24 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-14 20:35:24 +0000 |
commit | 23b3a2c3d1cc06cd1f9b2d5f72ab2f1c913f675d (patch) | |
tree | ce3a980ab81ed2d1152579719f1112d395acaee9 /gdb/ui-file.c | |
parent | ca623f82a4ce0c6428a3e42aa13667d65bd97c9e (diff) | |
download | gdb-23b3a2c3d1cc06cd1f9b2d5f72ab2f1c913f675d.zip gdb-23b3a2c3d1cc06cd1f9b2d5f72ab2f1c913f675d.tar.gz gdb-23b3a2c3d1cc06cd1f9b2d5f72ab2f1c913f675d.tar.bz2 |
* 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 5671abd..cf5a86d 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); |