cccp.c (xstrdup): Renamed from `savestring'.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 13 Jan 1999 10:46:45 +0000 (10:46 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 13 Jan 1999 10:46:45 +0000 (10:46 +0000)
commitefd59a3308bc1ad7dd1527d9e6fa1feaa0a87f56
treebf643739547223da4478feeee08ef27e41880c22
parent9684789222a5e8e34eac4565cd42f4e848a942fc
cccp.c (xstrdup): Renamed from `savestring'.

        * cccp.c (xstrdup): Renamed from `savestring'.  All callers changed.
        Remove prototype which we get from libiberty.h.
        * collect2.c (xstrdup): Likewise.
        * genextract.c (xstrdup): Likewise for `copystr'.
        (mybzero): Remove it and use `memset' instead.
        * genoutput.c (mybcopy, mybzero): Remove these.  All callers changed
        to use `memcpy' and `memset' instead.
        * genrecog.c (xstrdup): Renamed from `copystr'.  All callers
        changed.  Remove prototype.
        (mybcopy, mybzero): Remove these and use memcpy/memset.

From-SVN: r24650
gcc/ChangeLog
gcc/cccp.c
gcc/collect2.c
gcc/genextract.c
gcc/genoutput.c
gcc/genrecog.c