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/com.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/f/com.h') diff --git a/gcc/f/com.h b/gcc/f/com.h index b0f1119..aa26893 100644 --- a/gcc/f/com.h +++ b/gcc/f/com.h @@ -319,7 +319,7 @@ tree ffecom_make_tempvar (const char *commentary, tree type, ffetargetCharacterSize size, int elements); tree ffecom_modify (tree newtype, tree lhs, tree rhs); #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ -void ffecom_file (char *name); +void ffecom_file (const char *name); void ffecom_notify_init_storage (ffestorag st); void ffecom_notify_init_symbol (ffesymbol s); void ffecom_notify_primary_entry (ffesymbol fn); -- cgit v1.1