Correct libvtv obstack use
authorAlan Modra <amodra@gmail.com>
Mon, 9 Nov 2015 04:19:43 +0000 (14:49 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 9 Nov 2015 04:19:43 +0000 (14:49 +1030)
commit37697711e72258415e3e68f4fce1e405e7832d04
tree7eab9c6877586fed4f47ae3d7bbef376c29efdd3
parentc240b3e0de184a2bbb4f78e86126bee4748ab147
Correct libvtv obstack use

Fixes a compile error with both old and new obstacks due to
obstack_chunk_free having the wrong signature.  Also, setting chunk
size and alignment before obstack_init is pointless since they are
overwritten.

* vtv_malloc.cc (obstack_chunk_free): Correct param type.
(__vtv_malloc_init): Use obstack_specify_allocation.

From-SVN: r229985
libvtv/ChangeLog
libvtv/vtv_malloc.cc