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/core | |
| 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/core')
| -rw-r--r-- | src/core/bs_fantasy.c | 2 | ||||
| -rw-r--r-- | src/core/bs_fantasy_seen.c | 2 | ||||
| -rw-r--r-- | src/core/ms_rsend.c | 2 | ||||
| -rw-r--r-- | src/core/os_chankill.c | 2 | ||||
| -rw-r--r-- | src/core/os_defcon.c | 2 | ||||
| -rw-r--r-- | src/core/os_logonnews.c | 2 | ||||
| -rw-r--r-- | src/core/os_opernews.c | 2 | ||||
| -rw-r--r-- | src/core/os_restart.c | 2 | ||||
| -rw-r--r-- | src/core/os_umode.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/src/core/bs_fantasy.c b/src/core/bs_fantasy.c index 2885db065..80d07d993 100644 --- a/src/core/bs_fantasy.c +++ b/src/core/bs_fantasy.c @@ -35,7 +35,7 @@ class BSFantasy : public Module /** * Unload the module **/ -void AnopeFini(void) +void AnopeFini() { } diff --git a/src/core/bs_fantasy_seen.c b/src/core/bs_fantasy_seen.c index 0a9236aa0..9636d9d7a 100644 --- a/src/core/bs_fantasy_seen.c +++ b/src/core/bs_fantasy_seen.c @@ -36,7 +36,7 @@ class BSFantasySeen : public Module /** * Unload the module **/ -void AnopeFini(void) +void AnopeFini() { } diff --git a/src/core/ms_rsend.c b/src/core/ms_rsend.c index 798727e89..2c630e63f 100644 --- a/src/core/ms_rsend.c +++ b/src/core/ms_rsend.c @@ -40,7 +40,7 @@ class MSRSend : public Module /** * Unload the module **/ -void AnopeFini(void) +void AnopeFini() { } diff --git a/src/core/os_chankill.c b/src/core/os_chankill.c index e3fc11c7a..cd15e2a88 100644 --- a/src/core/os_chankill.c +++ b/src/core/os_chankill.c @@ -97,7 +97,7 @@ int do_chankill(User * u) if (is_oper(cu->user)) { continue; } - (void) strncpy(mask, "*@", 3); /* Use *@" for the akill's, */ + strncpy(mask, "*@", 3); /* Use *@" for the akill's, */ strncat(mask, cu->user->host, HOSTMAX); add_akill(NULL, mask, s_OperServ, expires, reason); check_akill(cu->user->nick, cu->user->username, diff --git a/src/core/os_defcon.c b/src/core/os_defcon.c index 96d5f9398..8669ff8c6 100644 --- a/src/core/os_defcon.c +++ b/src/core/os_defcon.c @@ -17,7 +17,7 @@ #ifdef _WIN32 extern MDE time_t DefContimer; -extern MDE void runDefCon(void); +extern MDE void runDefCon(); #endif int do_defcon(User * u); void defcon_sendlvls(User * u); diff --git a/src/core/os_logonnews.c b/src/core/os_logonnews.c index cfde08637..135b4c001 100644 --- a/src/core/os_logonnews.c +++ b/src/core/os_logonnews.c @@ -18,7 +18,7 @@ Command *c; void myOperServHelp(User * u); -int load_config(void); +int load_config(); int reload_config(int argc, char **argv); class OSLogonNews : public Module diff --git a/src/core/os_opernews.c b/src/core/os_opernews.c index 82a93b88e..e26a8be5f 100644 --- a/src/core/os_opernews.c +++ b/src/core/os_opernews.c @@ -18,7 +18,7 @@ Command *c; void myOperServHelp(User * u); -int load_config(void); +int load_config(); int reload_config(int argc, char **argv); class OSOperNews : public Module diff --git a/src/core/os_restart.c b/src/core/os_restart.c index cf85f7b0e..178044fa0 100644 --- a/src/core/os_restart.c +++ b/src/core/os_restart.c @@ -17,7 +17,7 @@ #ifdef _WIN32 /* OperServ restart needs access to this if were gonna avoid sending ourself a signal */ -extern MDE void do_restart_services(void); +extern MDE void do_restart_services(); #endif int do_restart(User * u); diff --git a/src/core/os_umode.c b/src/core/os_umode.c index 13b735e83..ca6b5aa9c 100644 --- a/src/core/os_umode.c +++ b/src/core/os_umode.c @@ -42,7 +42,7 @@ class OSUMode : public Module /** * Unload the module **/ -void AnopeFini(void) +void AnopeFini() { } |
