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/ms_help.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/ms_help.c')
-rw-r--r-- | src/core/ms_help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ms_help.c b/src/core/ms_help.c index 332d982b6..85de568ea 100644 --- a/src/core/ms_help.c +++ b/src/core/ms_help.c @@ -14,7 +14,7 @@ #include "module.h" -int do_help(User * u); +static int do_help(User * u); /** * Create the help command, and tell anope about it. @@ -50,7 +50,7 @@ void AnopeFini(void) * @param u The user who issued the command * @param MOD_CONT to continue processing other modules, MOD_STOP to stop processing. **/ -int do_help(User * u) +static int do_help(User * u) { char *cmd = strtok(NULL, ""); |