diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-20 02:49:09 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-20 02:49:09 +0000 |
commit | 0f3110e2711e34bfbcfa03d8f0289e5ed17a3ff0 (patch) | |
tree | 223359545de44404f1238a12abdc5fbca95c532c | |
parent | 6ce5c90619491440fc68f011c372feaaaf9d66dc (diff) |
Fix build under Windows.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2458 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | include/opertype.h | 2 | ||||
-rw-r--r-- | include/services.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/modules.h b/include/modules.h index 23152df95..00d32f27e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1014,7 +1014,7 @@ MDE void moduleDisplayHelp(const char *service, User *u); /*************************************************************************/ /*************************************************************************/ /* Command Managment Functions */ -Command *findCommand(CommandHash *cmdTable[], const char *name); /* Find a command */ +MDE Command *findCommand(CommandHash *cmdTable[], const char *name); /* Find a command */ /*************************************************************************/ diff --git a/include/opertype.h b/include/opertype.h index d6a3c4306..a4c9ba4ee 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -9,7 +9,7 @@ * */ -class OperType +class CoreExport OperType { private: /** The name of this opertype, e.g. "sra". diff --git a/include/services.h b/include/services.h index 79ee35f09..e0ec8a609 100644 --- a/include/services.h +++ b/include/services.h @@ -1397,9 +1397,9 @@ class Anope /** Pair of nick/opertype lookup. It's stored like this currently, because config is parsed before db load. * XXX: It would be nice to not need this. UGH. */ -extern std::list<std::pair<std::string, std::string> > svsopers_in_config; +E std::list<std::pair<std::string, std::string> > svsopers_in_config; /** List of available opertypes. */ -extern std::list<OperType *> MyOperTypes; +E std::list<OperType *> MyOperTypes; #endif /* SERVICES_H */ |