From 3779ed916a1bf70d744a7ba6ac5fa31862057d0f Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 21 Sep 2012 21:39:32 -0400 Subject: Made all module functions static to fix OSX's linker from linking modules with similar function names to each other which causes complete and total chaos. --- src/core/cs_suspend.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/cs_suspend.c') diff --git a/src/core/cs_suspend.c b/src/core/cs_suspend.c index 0554d4764..2dbb350e0 100644 --- a/src/core/cs_suspend.c +++ b/src/core/cs_suspend.c @@ -14,9 +14,9 @@ #include "module.h" -int do_suspend(User * u); -int do_unsuspend(User * u); -void myChanServHelp(User * u); +static int do_suspend(User * u); +static int do_unsuspend(User * u); +static void myChanServHelp(User * u); /** * Create the command, and tell anope about it. @@ -60,7 +60,7 @@ void AnopeFini(void) * Add the help response to anopes /cs help output. * @param u The user who is requesting help **/ -void myChanServHelp(User * u) +static void myChanServHelp(User * u) { if (is_services_oper(u)) { notice_lang(s_ChanServ, u, CHAN_HELP_CMD_SUSPEND); @@ -73,7 +73,7 @@ void myChanServHelp(User * u) * @param u The user who issued the command * @param MOD_CONT to continue processing other modules, MOD_STOP to stop processing. **/ -int do_suspend(User * u) +static int do_suspend(User * u) { ChannelInfo *ci; char *chan = strtok(NULL, " "); @@ -152,7 +152,7 @@ int do_suspend(User * u) /*************************************************************************/ -int do_unsuspend(User * u) +static int do_unsuspend(User * u) { ChannelInfo *ci; char *chan = strtok(NULL, " "); -- cgit