Fix some non-64-bit-ness in database.c
[blerg.git] / lib / perl / Blerg-Database / Database.xs
index 9fc728f..df1c463 100644 (file)
@@ -4,14 +4,15 @@
 
 #include "ppport.h"
 
-#include "const-c.inc"
-
+#include "config.h"
 #include "database/database.h"
 #include "database/blergref.h"
 #include "database/tags.h"
 #include "database/subscription.h"
 #include "database/util.h"
 
+#include "const-c.inc"
+
 HV * blergref_to_perl_hash(struct blergref *list) {
         HV *tmp;
         char buf[21];
@@ -112,7 +113,7 @@ int _get_mute(struct blerg *ptr)
     OUTPUT:
         RETVAL
 
-void _tag_list(const char *tag, const char *str_offset, int direction)
+void tag_list(const char *tag, const char *str_offset, int direction)
     INIT:
         HV * tmp;
         struct blergref *list;
@@ -145,7 +146,7 @@ int subscription_remove(const char *from, const char *to)
     OUTPUT:
         RETVAL
 
-void subscription_list(const char *author, const char *str_offset, int direction)
+void _subscription_list(const char *author, const char *str_offset, int direction)
     INIT:
         HV *tmp;
         struct blergref *list;