summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ctables.h3
-rw-r--r--include/typedefs.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/ctables.h b/include/ctables.h
index 5926f3a2a..3666718b6 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -20,6 +20,9 @@
#include "inspircd_config.h"
#include "inspircd.h"
#include "base.h"
+#include "typedefs.h"
+
+typedef void (handlerfunc) (char**, int, userrec*);
/** A structure that defines a command
*/
diff --git a/include/typedefs.h b/include/typedefs.h
index 3b11df2da..0a625b1d2 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -25,7 +25,6 @@ typedef std::deque<command_t> command_table;
typedef std::vector<std::string> servernamelist;
typedef std::vector<ExtMode> ExtModeList;
typedef ExtModeList::iterator ExtModeListIter;
-typedef void (handlerfunc) (char**, int, userrec*);
typedef std::deque<std::string> file_cache;
#endif