diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-11-29 02:50:04 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-11-29 02:50:04 +0000 |
commit | b0791fa925202359a56169bf0e28d89cd49f1c33 (patch) | |
tree | f852635f5817ab1e26919869bfbda84e5cfbce64 /gcc/f/com.h | |
parent | 14657de8f1fd8fff5cb3bed37d91267beea5e1f3 (diff) | |
download | gcc-b0791fa925202359a56169bf0e28d89cd49f1c33.zip gcc-b0791fa925202359a56169bf0e28d89cd49f1c33.tar.gz gcc-b0791fa925202359a56169bf0e28d89cd49f1c33.tar.bz2 |
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
Diffstat (limited to 'gcc/f/com.h')
-rw-r--r-- | gcc/f/com.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |