summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-06-28 01:28:51 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-06-28 01:28:51 -0400
commit85b07a94d7d0c54e221dbbb8333870beb47bb3ac (patch)
tree7a3300c7fb0bb57e40f3f226b2c1d350384ab864 /include/modules.h
parent2e4099e9f2bdcfab963c1e86a3f02d6b3c1b0048 (diff)
Fix version system so it doesn't cause the entire build tree to get rebuilt just because version.h gets regenerated, thanks to Adam for initial patch.
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index 5fd36d6ac..502093081 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -17,7 +17,6 @@
#include <stdio.h>
#include "timers.h"
#include "hashcomp.h"
-#include "version.h"
#include "commands.h"
/* Cross OS compatibility macros */
@@ -291,7 +290,7 @@ class CoreExport Module
* compiled against
* @return The version
*/
- Version GetVersion() { return Version(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD); }
+ Version GetVersion();
/**
* Allow a module to add a set of language strings to anope