[NeoStats-Devel] [Commits] r2814 - trunk/modules/statserv

[email protected] Wed, 14 Sep 2005 05:32:37 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Wed Sep 14 03:32:28 2005
New Revision: 2814

Modified:
   trunk/modules/statserv/statserv.c
   trunk/modules/statserv/statserv.h
Log:
fix statserv compile which osx changes broke

Modified: trunk/modules/statserv/statserv.c
==============================================================================
--- trunk/modules/statserv/statserv.c	(original)
+++ trunk/modules/statserv/statserv.c	Wed Sep 14 03:32:28 2005
@@ -39,6 +39,8 @@
 #include "tld.h"
 #include "htmlstats.h"
 
+tStatServ StatServ;
+
 /** SET callback prototypes */
 static int ss_set_htmltime_cb( CmdParams *cmdparams, SET_REASON reason );
 static int ss_set_exclusions_cb( CmdParams *cmdparams, SET_REASON reason );

Modified: trunk/modules/statserv/statserv.h
==============================================================================
--- trunk/modules/statserv/statserv.h	(original)
+++ trunk/modules/statserv/statserv.h	Wed Sep 14 03:32:28 2005
@@ -36,7 +36,7 @@
 
 extern Bot *ss_bot;
 
-extern struct StatServ { 
+typedef struct tStatServ { 
 	int lagtime; 
 	int lagalert; 
 	int recordalert; 
@@ -48,7 +48,9 @@
 	int msglimit; 
 	int exclusions; 
 	int flatmap; 
-} StatServ;
+} tStatServ;
+
+extern tStatServ StatServ;
 
 /* ss_help.c */
 extern const char *ss_about[];