Make the c get_code_info static.
Florian Ragwitz [Fri, 5 Dec 2008 06:20:45 +0000 (06:20 +0000)]
MOP.xs

diff --git a/MOP.xs b/MOP.xs
index 81a307c..1598d94 100644 (file)
--- a/MOP.xs
+++ b/MOP.xs
@@ -80,7 +80,7 @@ mop_call0(pTHX_ SV* const self, SV* const method) {
     return ret;
 }
 
-int
+static int
 get_code_info (SV *coderef, char **pkg, char **name)
 {
     if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {