diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-03-06 18:03:55 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-03-06 18:03:55 +0000 |
commit | fd05eb8097447db2163a7900a2db30be7aaf9851 (patch) | |
tree | 7fa5d8f5f3c3151a83a03d4b9ff54f281c145164 /gcc/cpphash.c | |
parent | c137830fba1ab6f1ae91ad5aec71573af7023c9d (diff) | |
download | gcc-fd05eb8097447db2163a7900a2db30be7aaf9851.zip gcc-fd05eb8097447db2163a7900a2db30be7aaf9851.tar.gz gcc-fd05eb8097447db2163a7900a2db30be7aaf9851.tar.bz2 |
builtins.c (built_in_class_names, [...]): Constify a char*.
* builtins.c (built_in_class_names, built_in_names): Constify a
char*.
* gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
int.
(_mcleanup): Ensure value matches format specifier in sprintf.
* cpphash.c (special_symbol): Don't needlessly cast away
const-ness.
* cppinit.c (base_name): Delete unused prototype.
* mkdeps.c (deps_init): Make definition K&R safe.
* tree.h (built_in_class_names, built_in_names): Constify a
char*.
f:
* ansify.c (die_unless): Don't use ANSI string concatenation.
(die): Mark with ATTRIBUTE_NORETURN.
From-SVN: r32364
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r-- | gcc/cpphash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c index a85c7c2..bb772eb 100644 --- a/gcc/cpphash.c +++ b/gcc/cpphash.c @@ -897,7 +897,7 @@ special_symbol (hp, pfile) while (!ip->nominal_fname && ip != CPP_NULL_BUFFER (pfile)) ip = CPP_PREV_BUFFER (ip); if (ip->system_header_p - && !cpp_lookup (pfile, (U_CHAR *) "__STRICT_ANSI__", 15)) + && !cpp_lookup (pfile, (const U_CHAR *) "__STRICT_ANSI__", 15)) CPP_PUTC_Q (pfile, '0'); else #endif |