This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
vutil.c, vxs.inc: Avoid warnings from -Wmissing-prototypes -Wundef -Wunused-label
authorBrian Fraser <fraserbn@gmail.com>
Tue, 4 Feb 2014 09:38:55 +0000 (06:38 -0300)
committerSteve Hay <steve.m.hay@googlemail.com>
Tue, 4 Feb 2014 12:57:53 +0000 (12:57 +0000)
commit24120986965f248417d199c5818d145ea2a34607
tree9f32761aec6251fa9614a67310bc83266d47d59c
parent1ab48e3ad30800bfaff52faeea827eb2d57b1c28
vutil.c, vxs.inc: Avoid warnings from -Wmissing-prototypes -Wundef -Wunused-label

-Wmissing-prototypes was complaining about declaring XS()
functions without previously declaring a prototype.

-Wundef didn't like using #if foo instead of #ifdef foo

-Wunused-label warned because VER_{IV,NM,PV} were defined on all
versions of perl, but only used on < 5.17.2
vutil.c
vxs.inc