summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 16:16:53 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 16:16:53 +0000
commitbe278d2bb8f67e75c4bb2e5a62f217fe79dc66e3 (patch)
tree423972d21eee308fc8e09315f029e1310bdfda69 /src/modules.c
parent72e09121b253e285f89a0e04a0d6de32b9aa3121 (diff)
Remove (void) args, these just make things ugly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules.c b/src/modules.c
index cf202916c..0d7bd199b 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -59,7 +59,7 @@ char *ModuleGetErrStr(int status)
/**
*
**/
-int encryption_module_init(void) {
+int encryption_module_init() {
int ret = 0;
alog("Loading Encryption Module: [%s]", EncModule);
@@ -72,7 +72,7 @@ int encryption_module_init(void) {
/**
* Load the ircd protocol module up
**/
-int protocol_module_init(void)
+int protocol_module_init()
{
int ret = 0;
@@ -901,7 +901,7 @@ void moduleCallBackPrepForUnload(const char *mod_name)
* This is needed for modules who cant trust the strtok() buffer, as we dont know who will have already messed about with it.
* @reutrn a pointer to a copy of the last buffer - DONT mess with this, copy if first if you must do things to it.
**/
-char *moduleGetLastBuffer(void)
+char *moduleGetLastBuffer()
{
char *tmp = NULL;
if (mod_current_buffer) {
@@ -1095,7 +1095,7 @@ bool moduleMinVersion(int major, int minor, int patch, int build)
}
#ifdef _WIN32
-const char *ano_moderr(void)
+const char *ano_moderr()
{
static char errbuf[513];
DWORD err = GetLastError();
@@ -1224,7 +1224,7 @@ void Module::DeleteLanguage(int langNumber)
}
}
-void ModuleRunTimeDirCleanUp(void)
+void ModuleRunTimeDirCleanUp()
{
#ifndef _WIN32
DIR *dirp;