diff options
author | Adam <Adam@anope.org> | 2012-09-21 21:39:32 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-09-21 21:39:32 -0400 |
commit | 3779ed916a1bf70d744a7ba6ac5fa31862057d0f (patch) | |
tree | 0e1f5f3b2b8c36eefa8e52872fb2164fa5569075 /src/core/cs_access.c | |
parent | 3f05a42515b588b508419040e71b74ea2a27f1d0 (diff) |
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.
Diffstat (limited to 'src/core/cs_access.c')
-rw-r--r-- | src/core/cs_access.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/cs_access.c b/src/core/cs_access.c index df0ff6948..cc1a81c10 100644 --- a/src/core/cs_access.c +++ b/src/core/cs_access.c @@ -15,10 +15,10 @@ #include "module.h" -int do_access(User * u); -int do_levels(User * u); +static int do_access(User * u); +static int do_levels(User * u); -void myChanServHelp(User * u); +static void myChanServHelp(User * u); /** * Create the command, and tell anope about it. @@ -63,7 +63,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) { notice_lang(s_ChanServ, u, CHAN_HELP_CMD_ACCESS); notice_lang(s_ChanServ, u, CHAN_HELP_CMD_LEVELS); @@ -139,7 +139,7 @@ static int access_list_callback(User * u, int num, va_list args) * @param u The user who issued the command * @param MOD_CONT to continue processing other modules, MOD_STOP to stop processing. **/ -int do_access(User * u) +static int do_access(User * u) { char *chan = strtok(NULL, " "); char *cmd = strtok(NULL, " "); @@ -395,7 +395,7 @@ int do_access(User * u) } -int do_levels(User * u) +static int do_levels(User * u) { char *chan = strtok(NULL, " "); char *cmd = strtok(NULL, " "); |