]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanindex/chanindex.c
fix indentation
[irc/quakenet/newserv.git] / chanindex / chanindex.c
index 6bf42afbf29adbd942d49a5c54d4857d828f681c..e610fd8e2e960ce8e6b0d7557f65d1314f0d0ed6 100644 (file)
@@ -5,10 +5,13 @@
 #include "../lib/irc_string.h"
 #include "../core/error.h"
 #include "../core/nsmalloc.h"
+#include "../lib/version.h"
 
 #include <stdio.h>
 #include <string.h>
 
+MODULE_VERSION("")
+
 #define ALLOCUNIT      1000
 
 #define channelhash(x)  (crc32i(x)%CHANNELHASHSIZE)
@@ -19,14 +22,14 @@ chanindex *freechanindices;
 
 unsigned int channelmarker;
 
-void __init() {
+void _init() {
   memset(chantable,0,sizeof(chantable));
   memset(extnames,0,sizeof(extnames));
   channelmarker=0;
   freechanindices=NULL;
 }
 
-void __fini() {
+void _fini() {
   nsfreeall(POOL_CHANINDEX);
 }