aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jv-scan.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-27 03:35:21 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-27 03:35:21 +0000
commitc083a819b26a58d8a6caa58e15c5e8821bff01eb (patch)
tree519da3fd60c83da045d893a8fefdc62a8ecb1bb9 /gcc/java/jv-scan.c
parent21cb9e6053f4c55f663d95dc711596a805cfde2b (diff)
downloadgcc-c083a819b26a58d8a6caa58e15c5e8821bff01eb.zip
gcc-c083a819b26a58d8a6caa58e15c5e8821bff01eb.tar.gz
gcc-c083a819b26a58d8a6caa58e15c5e8821bff01eb.tar.bz2
collect2.c (is_ctor_dtor): Const-ify.
* collect2.c (is_ctor_dtor): Const-ify. * m88k-protos.c (output_file_start): Likewise. * m88k.c (m88k_lang_independent_options, output_options, output_file_start): Likewise. * fix-header.c (files_to_ignore, std_include_entry, include_entry, std_include_table, main): Likewise. * protoize.c (longopts): Likewise. * regclass.c (int_reg_class_contents): Likewise. * toplev.c (dump_file, f_options, W_options): Make static. (lang_independent_options, f_options, W_options): Const-ify. * tree-dump.c (dump_file_info): Likewise. * unroll.c (_factor): Make static. java: * chartables.h: Const-ify. * gjavah.c (options): Likewise. * jcf-dump.c (options): Likewise. * jv-scan.c (options): Likewise. * lex.c (java_start_char_p, java_part_char_p): Likewise. * parse.y (binop_lookup): Likewise. From-SVN: r48322
Diffstat (limited to 'gcc/java/jv-scan.c')
-rw-r--r--gcc/java/jv-scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jv-scan.c b/gcc/java/jv-scan.c
index bf7fd41..4120a2f 100644
--- a/gcc/java/jv-scan.c
+++ b/gcc/java/jv-scan.c
@@ -76,7 +76,7 @@ int pedantic = 0;
#define OPT_VERSION LONG_OPT (1)
#define OPT_ENCODING LONG_OPT (2)
-static struct option options[] =
+static const struct option options[] =
{
{ "help", no_argument, NULL, OPT_HELP },
{ "version", no_argument, NULL, OPT_VERSION },