summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 00:12:54 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 00:12:54 +0000
commit094688603f032608a9b4ead90f7a3a20d67fa045 (patch)
treebaf1ae88ef3798e9134df2b8a8105665436812f4 /src
parentbba7d1aaaf7a4cf2c2af0b3e6f92cb115bdd48c1 (diff)
Cleanup some stuff to a header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1683 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/module.cpp6
-rw-r--r--src/modulemanager.cpp6
-rw-r--r--src/modules.c19
3 files changed, 0 insertions, 31 deletions
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 <dlfcn.h>
-#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 <dlfcn.h>
-#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 <dlfcn.h>
- /* 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
**/