Subject: | [PATCH] static global vars in FastCalc.xs |
Less indirection on ELF.
Subject: | 0001-static-global-vars-in-FastCalc.xs.patch |
From f35eb4a3266dbc937d4046ac950a02e1f781778b Mon Sep 17 00:00:00 2001
From: Daniel Dragan <bulk88@hotmail.com>
Date: Sat, 28 Nov 2015 22:12:47 -0500
Subject: [PATCH] static global vars in FastCalc.xs
Less indirection on ELF.
---
cpan/Math-BigInt-FastCalc/FastCalc.xs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpan/Math-BigInt-FastCalc/FastCalc.xs b/cpan/Math-BigInt-FastCalc/FastCalc.xs
index a045c71..eb228e4 100644
--- a/cpan/Math-BigInt-FastCalc/FastCalc.xs
+++ b/cpan/Math-BigInt-FastCalc/FastCalc.xs
@@ -14,8 +14,8 @@
# define croak_xs_usage croak
#endif
-double XS_BASE = 0;
-double XS_BASE_LEN = 0;
+static double XS_BASE = 0;
+static double XS_BASE_LEN = 0;
MODULE = Math::BigInt::FastCalc PACKAGE = Math::BigInt::FastCalc
--
1.9.5.msysgit.1