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/os_update.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/os_update.c')
| -rw-r--r-- | src/core/os_update.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/os_update.c b/src/core/os_update.c index a1d62cbf9..da25e79ce 100644 --- a/src/core/os_update.c +++ b/src/core/os_update.c @@ -14,8 +14,8 @@ #include "module.h" -int do_update(User * u); -void myOperServHelp(User * u); +static int do_update(User * u); +static void myOperServHelp(User * u); /** * Create the command, and tell anope about it. @@ -53,7 +53,7 @@ void AnopeFini(void) * Add the help response to anopes /os help output. * @param u The user who is requesting help **/ -void myOperServHelp(User * u) +static void myOperServHelp(User * u) { if (is_services_root(u)) { notice_lang(s_OperServ, u, OPER_HELP_CMD_UPDATE); @@ -65,7 +65,7 @@ void myOperServHelp(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_update(User * u) +static int do_update(User * u) { notice_lang(s_OperServ, u, OPER_UPDATING); save_data = 1; |
