summaryrefslogtreecommitdiff
path: root/vxs.inc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-01-04 10:43:22 -0700
committerKarl Williamson <public@khwilliamson.com>2014-01-04 10:45:18 -0700
commit39ced5adb3b09f93e0263d0f679de4cb6d7c2dc9 (patch)
tree48f637a7fc7e155ef65ab2e7b9f8e9e9715940b3 /vxs.inc
parent901ee108fe1f8070e4722d8313bf202d0eb843b0 (diff)
downloadperl-39ced5adb3b09f93e0263d0f679de4cb6d7c2dc9.tar.gz
vxs.inc: Move code to after declarations
This macro, added in e1c774b6, is actual code, and needs to be after the declarations, so that C89 compilers compile it.
Diffstat (limited to 'vxs.inc')
-rw-r--r--vxs.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vxs.inc b/vxs.inc
index e297c387a2..2e4f409390 100644
--- a/vxs.inc
+++ b/vxs.inc
@@ -171,12 +171,13 @@ VXS(version_new)
{
dVAR;
dXSARGS;
- PERL_UNUSED_VAR(cv);
SV *vs = items ? ST(1) : &PL_sv_undef;
SV *rv;
const char * classname = "";
STRLEN len;
U32 flags = 0;
+ PERL_UNUSED_VAR(cv);
+
SP -= items;
if (items > 3 || items == 0)