cccp.c (eprint_string): Constify a char*.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 29 Jan 1999 04:18:00 +0000 (04:18 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 29 Jan 1999 04:18:00 +0000 (04:18 +0000)
commitaa1b0f8cc7399e276a2fe9545fee5d4af1c6ccd8
treef92baf70cce21c385d0fa852e769d7bb1228e86a
parent61646a9769db0e88ef5a5b89acb4cb62aa784077
cccp.c (eprint_string): Constify a char*.

        * cccp.c (eprint_string): Constify a char*.
        (notice): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
        (vnotice): Constify a char*.
        (error): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
        (verror): Constify a char*.
        (warning): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
        (vwarning): Constify a char*.
        (error_with_line): Likewise.  Use PVPROTO not VPROTO, add
        ATTRIBUTE_PRINTF_2.
        (verror_with_line): Constify a char*.
        (vwarning_with_line): Likewise.
        (warning_with_line): Likewise.  Use PVPROTO not VPROTO, add
        ATTRIBUTE_PRINTF_2.
        (pedwarn): Constify a char*.  Use PVPROTO not VPROTO, add
        ATTRIBUTE_PRINTF_1.
        (pedwarn_with_line): Likewise with ATTRIBUTE_PRINTF_2.
        (pedwarn_with_file_and_line): Likewise with ATTRIBUTE_PRINTF_4.
        Also correct typo in parameter name declaration.
        (make_assertion): Constify a char*.
        (quote_string_for_make): Likewise.
        (deps_output): Likewise.
        (fatal): Likewise.  Use PVPROTO not VPROTO, add
        ATTRIBUTE_PRINTF_1.  Use ATTRIBUTE_NORETURN not an explicit
        "__attribute__ ((noreturn))".
        (fancy_abort): Likewise for ATTRIBUTE_NORETURN.
        (pfatal_with_name): Likewise.
        (pipe_closed): Likewise.
        (memory_full): Likewise.

From-SVN: r24902
gcc/ChangeLog
gcc/cccp.c