]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Changed __init and __fini to _init and _fini. Guess we didn't really need
authorsplidge <redacted>
Sat, 2 Jun 2007 16:17:13 +0000 (17:17 +0100)
committersplidge <redacted>
Sat, 2 Jun 2007 16:17:13 +0000 (17:17 +0100)
the init code huh? :)

chanindex/chanindex.c

index 6bf42afbf29adbd942d49a5c54d4857d828f681c..a859250cb2b86eda681180725762db20427f6ce9 100644 (file)
@@ -19,14 +19,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);
 }