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/hs_group.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/hs_group.c') diff --git a/src/core/hs_group.c b/src/core/hs_group.c index 309567d01..a30a1cdbe 100644 --- a/src/core/hs_group.c +++ b/src/core/hs_group.c @@ -14,8 +14,8 @@ #include "module.h" -int do_group(User * u); -void myHostServHelp(User * u); +static int do_group(User * u); +static void myHostServHelp(User * u); extern int do_hs_sync(NickCore * nc, char *vIdent, char *hostmask, char *creator, time_t time); @@ -57,7 +57,7 @@ void AnopeFini(void) * Add the help response to anopes /hs help output. * @param u The user who is requesting help **/ -void myHostServHelp(User * u) +static void myHostServHelp(User * u) { notice_lang(s_HostServ, u, HOST_HELP_CMD_GROUP); } @@ -67,7 +67,7 @@ void myHostServHelp(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_group(User * u) +static int do_group(User * u) { NickAlias *na; HostCore *tmp; -- cgit