about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--mahoro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mahoro.c b/mahoro.c
index 71be82a..a30946c 100644
--- a/mahoro.c
+++ b/mahoro.c
@@ -17,7 +17,6 @@
 #  define RSTRING_PTR(s)->ptr
 #endif
 
-static VALUE cMahoro;
 static VALUE eMahoroError;
 static ID id_to_path;
 
@@ -353,6 +352,7 @@ mahoro_load(self, path)
 
 void Init_mahoro(void)
 {
+        VALUE cMahoro;
         /*
          * Mahoro is a simple interface to libmagic.
          *