aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/close.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-09-29 15:53:59 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2005-09-29 15:53:59 +0200
commit090037799cc3bc47500e77ed0b767b8d21bec1aa (patch)
tree6e3201f8c8d3d502dd57d16041c0f18d17a276f9 /libgfortran/io/close.c
parent1ebd8d9ac1a51af9a1a65f1db575fd2499835074 (diff)
downloadgcc-090037799cc3bc47500e77ed0b767b8d21bec1aa.zip
gcc-090037799cc3bc47500e77ed0b767b8d21bec1aa.tar.gz
gcc-090037799cc3bc47500e77ed0b767b8d21bec1aa.tar.bz2
string.c (find_option): Change 3rd argument to const st_option *.
* runtime/string.c (find_option): Change 3rd argument to const st_option *. * libgfortran.h (find_option): Likewise. * runtime/environ.c (rounding, precision, signal_choices): Constify. (init_choice, show_choice): Change 2nd argument to const choice *. * io/open.c (access_opt, action_opt, blank_opt, delim_opt, form_opt, position_opt, status_opt, pad_opt): Constify. * io/transfer.c (advance_opt): Likewise. * io/inquire.c (undefined): Likewise. * io/close.c (status_opt): Likewise. * io/format.c (posint_required, period_required, nonneg_required, unexpected_element, unexpected_end, bad_string, bad_hollerith, reversion_error): Likewise. * io/unix.c (yes, no, unknown): Change from const char * into const char []. From-SVN: r104773
Diffstat (limited to 'libgfortran/io/close.c')
-rw-r--r--libgfortran/io/close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/close.c b/libgfortran/io/close.c
index 3abaceb..dcb1809 100644
--- a/libgfortran/io/close.c
+++ b/libgfortran/io/close.c
@@ -36,7 +36,7 @@ typedef enum
{ CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }
close_status;
-static st_option status_opt[] = {
+static const st_option status_opt[] = {
{"keep", CLOSE_KEEP},
{"delete", CLOSE_DELETE},
{NULL, 0}