diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 16:16:53 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 16:16:53 +0000 |
commit | be278d2bb8f67e75c4bb2e5a62f217fe79dc66e3 (patch) | |
tree | 423972d21eee308fc8e09315f029e1310bdfda69 /src/main.c | |
parent | 72e09121b253e285f89a0e04a0d6de32b9aa3121 (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/main.c')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c index 69b887140..fa46eb787 100644 --- a/src/main.c +++ b/src/main.c @@ -98,7 +98,7 @@ static int started = 0; /* Run expiration routines */ -extern void expire_all(void) +extern void expire_all() { waiting = -30; send_event(EVENT_DB_EXPIRE, 1, EVENT_START); @@ -133,7 +133,7 @@ extern void expire_all(void) /*************************************************************************/ -void save_databases(void) +void save_databases() { waiting = -19; send_event(EVENT_DB_SAVING, 1, EVENT_START); @@ -172,7 +172,7 @@ void save_databases(void) /* Restarts services */ -static void services_restart(void) +static void services_restart() { alog("Restarting"); send_event(EVENT_RESTART, 1, EVENT_START); @@ -203,7 +203,7 @@ static void services_restart(void) * Added to allow do_restart from operserv access to the static functions without making them * fair game to every other function - not exactly ideal :| **/ -void do_restart_services(void) +void do_restart_services() { if (!readonly) { expire_all(); @@ -217,7 +217,7 @@ void do_restart_services(void) /* Terminates services */ -static void services_shutdown(void) +static void services_shutdown() { User *u, *next; |