From b0791fa925202359a56169bf0e28d89cd49f1c33 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Mon, 29 Nov 1999 02:50:04 +0000 Subject: com.c (ffecom_file_, [...]): Constify a char*. * com.c (ffecom_file_, ffecom_file, file_buf, ffecom_open_include_): Constify a char*. (ffecom_possible_partial_overlap_): Mark parameter `expr2' with ATTRIBUTE_UNUSED. (ffecom_init_0): Use a fully prototyped cast in call to bsearch. (lang_print_error_function): ANSI-fy. * com.h (ffecom_file): Constify a char*. * fini.c (main): Call return, not exit. * g77spec.c (lang_specific_driver): Use non-const *in_argv in assignment. * intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away const-ness. From-SVN: r30693 --- gcc/f/g77spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/f/g77spec.c') diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c index b0c750f..505bc12 100644 --- a/gcc/f/g77spec.c +++ b/gcc/f/g77spec.c @@ -304,7 +304,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) fprintf (stderr, "\n"); #endif - real_g77_newargv = argv; + real_g77_newargv = *in_argv; g77_xargc = argc; g77_xargv = argv; -- cgit v1.1