Fix up vms/vms.c for C++.
authorCraig A. Berry <craigberry@mac.com>
Thu, 24 May 2012 21:54:28 +0000 (16:54 -0500)
committerCraig A. Berry <craigberry@mac.com>
Thu, 24 May 2012 21:54:28 +0000 (16:54 -0500)
commitc11536f52404bb9f0099cce26b5271b1ee500842
treea826de84fd5a39fbd1c61c7b74801d26fa5f106d
parent361ec98e5d8e7a23ae6e2670b72cb10c32d38c22
Fix up vms/vms.c for C++.

Almost all of this consists of casting the return values from
PerlMem_malloc, which inexpicably we weren't doing.

There are also some prototypes that have to be at file scope and
declare with extern "C".

And there was some embarrassing dead code in Perl_my_localtime
that the C++ compiler spotted.
vms/vms.c