diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-02-06 07:38:50 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-02-06 07:38:50 +0000 |
commit | bdc1937ed9b8094c8fcb835b594d67812883003f (patch) | |
tree | 4413a502f6b8ff88549cbb4d9533aaa8e14dd8f6 /gcc/cppinit.c | |
parent | b36ba79f65f341f556662aea2d2f7c14c4fb1ec5 (diff) | |
download | gcc-bdc1937ed9b8094c8fcb835b594d67812883003f.zip gcc-bdc1937ed9b8094c8fcb835b594d67812883003f.tar.gz gcc-bdc1937ed9b8094c8fcb835b594d67812883003f.tar.bz2 |
cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to U_CHAR* when assigning to one.
* cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to
U_CHAR* when assigning to one. Ensure the values of a ?: operator
have the same type.
* cppinit.c (initialize_char_syntax): Use K&R function definition.
From-SVN: r25054
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index da7030f..32ebad9 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -51,7 +51,8 @@ U_CHAR trigraph_table[256] = { 0 }; /* Initialize syntactic classifications of characters. */ void -initialize_char_syntax (int dollar_in_ident) +initialize_char_syntax (dollar_in_ident) + int dollar_in_ident; { is_idstart['a'] = 1; is_idstart['b'] = 1; is_idstart['c'] = 1; is_idstart['d'] = 1; is_idstart['e'] = 1; is_idstart['f'] = 1; |