From 094688603f032608a9b4ead90f7a3a20d67fa045 Mon Sep 17 00:00:00 2001 From: rburchell Date: Sat, 15 Nov 2008 00:12:54 +0000 Subject: Cleanup some stuff to a header. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1683 5417fbe8-f217-4b02-8779-1006273d7864 --- src/module.cpp | 6 ------ src/modulemanager.cpp | 6 ------ src/modules.c | 19 ------------------- 3 files changed, 31 deletions(-) (limited to 'src') diff --git a/src/module.cpp b/src/module.cpp index 9c86ec299..18b22180e 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -12,12 +12,6 @@ #include "language.h" #include "version.h" -#if !defined(_WIN32) - #include -#else - const char *ano_moderr(void); -#endif - Module::Module(const std::string &mname, const std::string &creator) { this->name = mname; /* Our name */ diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 8ce6ce953..edccd8dc5 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -12,12 +12,6 @@ #include "language.h" #include "version.h" -#if !defined(_WIN32) - #include -#else - const char *ano_moderr(void); -#endif - void ModuleManager::LoadModuleList(int total_modules, char **module_list) { int idx; diff --git a/src/modules.c b/src/modules.c index aa8f09b29..9c5d7d3ff 100644 --- a/src/modules.c +++ b/src/modules.c @@ -15,25 +15,6 @@ #include "language.h" #include "version.h" -#if !defined(_WIN32) - #include - /* Define these for systems without them */ - #ifndef RTLD_NOW - #define RTLD_NOW 0 - #endif - #ifndef RTLD_LAZY - #define RTLD_LAZY RTLD_NOW - #endif - #ifndef RTLD_GLOBAL - #define RTLD_GLOBAL 0 - #endif - #ifndef RTLD_LOCAL - #define RTLD_LOCAL 0 - #endif -#else - const char *ano_moderr(void); -#endif - /** * Declare all the list's we want to use here **/ -- cgit