]> git.ipfire.org Git - thirdparty/gcc.git/commit - include/obstack.h
Avoids false positives with -Wcast-qual:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 1 Sep 1999 14:44:56 +0000 (14:44 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 1 Sep 1999 14:44:56 +0000 (14:44 +0000)
commit98c3e05ded26e33f52013b35696fd2ff69243e93
tree857be0ae58c1bb2a02afe0e85d7b344ae44997dc
parent05d106753da1441283c516251fa6b1c8aa559892
Avoids false positives with -Wcast-qual:

* obstack.h (obstack_grow, obstack_grow0): Move (char*) casts
in calls to `_obstack_memcpy' from here ...

(_obstack_memcpy): ... to here, except in the __STDC__ case which
doesn't need it.

From-SVN: r29028
include/ChangeLog
include/obstack.h