Add prototype behaviour to MOP.xs to silence warnings during XS build time.
Scott McWhirter [Sun, 23 Dec 2007 07:25:21 +0000 (07:25 +0000)]
  - Just a tidy up, not anything major.

MOP.xs

diff --git a/MOP.xs b/MOP.xs
index 47d02d4..6f1e2f6 100644 (file)
--- a/MOP.xs
+++ b/MOP.xs
@@ -17,6 +17,8 @@ get_code_info:
 
 MODULE = Class::MOP   PACKAGE = Class::MOP
 
+PROTOTYPES: ENABLE
+
 SV*
 check_package_cache_flag(pkg)
   SV* pkg