]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/protoize.c
Warning fixes:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 19 Nov 2000 13:15:51 +0000 (13:15 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 19 Nov 2000 13:15:51 +0000 (13:15 +0000)
commitce1cc601f552748bf58e8d8367b3c46b31b4c29b
treeeaf63c52b5062fa22f55d651138eb5cd20b0a102
parent7e9355c669fa0c9e362b40b60cb3268605e2f12e
Warning fixes:

* builtins.c (c_getstr): Constify variable.
* gmon-sol2.c (_mcleanup): Comment out #endif labels.
* conflict.c (const_conflict_graph_arc): New typedef.
(arc_hash, arc_eq): Avoid needlessly casting away const-ness.
* cppmacro.c (builtin_macro): Likewise.
* dwarf2out.c (output_comp_unit): Constify variable.
* fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
* protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
* ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
away const-ness.
* tradcpp.c (rescan, do_line, macroexpand, macarg): Use
ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
* varasm.c (const_str_htab_hash, const_str_htab_eq,
compare_constant_1, record_constant_1): Constify.

From-SVN: r37565
gcc/ChangeLog
gcc/builtins.c
gcc/config/sparc/gmon-sol2.c
gcc/conflict.c
gcc/cppmacro.c
gcc/dwarf2out.c
gcc/fix-header.c
gcc/protoize.c
gcc/ssa.c
gcc/tradcpp.c
gcc/varasm.c