diff options
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r-- | gcc/ada/misc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index 93a52eb..180bb9a 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -81,7 +81,7 @@ extern char **save_argv; static size_t gnat_tree_size PARAMS ((enum tree_code)); static bool gnat_init PARAMS ((void)); -static void gnat_init_options PARAMS ((void)); +static int gnat_init_options PARAMS ((void)); static int gnat_decode_option PARAMS ((int, char **)); static HOST_WIDE_INT gnat_get_alias_set PARAMS ((tree)); static void gnat_print_decl PARAMS ((FILE *, tree, int)); @@ -300,13 +300,15 @@ gnat_decode_option (argc, argv) /* Initialize for option processing. */ -static void +static int gnat_init_options () { /* Initialize gnat_argv with save_argv size */ gnat_argv = (char **) xmalloc ((save_argc + 1) * sizeof (gnat_argv[0])); gnat_argv[0] = save_argv[0]; /* name of the command */ gnat_argc = 1; + + return 0; } /* Here is the function to handle the compiler error processing in GCC. */ |