summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-10 22:50:41 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-10 22:50:41 +0000
commit09dd16b981c38cbde7573398cb50ae1cf0531ade (patch)
treec9c078d2b5e41c9c76e3e5175e66fb4b7cb002d6 /src
parent90639721625b5da867effc7dd4adec003c1bd3b4 (diff)
Route some more stuff through socket.h and hash_map.h. Add #define protection to timer.h and remove some unneeded includes and externs from timer.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3869 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/timer.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index 0e7a77ad8..0c2cabbbe 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -14,24 +14,14 @@
* ---------------------------------------------------
*/
-using namespace std;
-
-#include "inspircd_config.h"
-#include <time.h>
#include <vector>
#include <map>
-#include "users.h"
-#include "ctables.h"
-#include "typedefs.h"
-#include "commands.h"
-#include "globals.h"
-#include "hashcomp.h"
+#include "inspircd_config.h"
#include "inspircd.h"
-#include "inspstring.h"
+#include "typedefs.h"
#include "helperfuncs.h"
+#include "timer.h"
-extern InspIRCd* ServerInstance;
-extern ServerConfig* Config;
extern time_t TIME;
typedef std::vector<InspTimer*> timergroup;