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/os_umode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/os_umode.c') diff --git a/src/core/os_umode.c b/src/core/os_umode.c index 72b9f1d70..6ed7da297 100644 --- a/src/core/os_umode.c +++ b/src/core/os_umode.c @@ -14,8 +14,8 @@ #include "module.h" -int do_operumodes(User * u); -void myOperServHelp(User * u); +static int do_operumodes(User * u); +static void myOperServHelp(User * u); /** * Create the command, and tell anope about it. @@ -56,7 +56,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_admin(u) && u->isSuperAdmin) { notice_lang(s_OperServ, u, OPER_HELP_CMD_UMODE); @@ -71,7 +71,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_operumodes(User * u) +static int do_operumodes(User * u) { char *nick = strtok(NULL, " "); char *modes = strtok(NULL, ""); -- cgit