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/ns_getemail.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/ns_getemail.c') diff --git a/src/core/ns_getemail.c b/src/core/ns_getemail.c index 976bd03ce..ec98eabce 100644 --- a/src/core/ns_getemail.c +++ b/src/core/ns_getemail.c @@ -19,8 +19,8 @@ #include "module.h" -int do_getemail(User * u); -void myNickServHelp(User * u); +static int do_getemail(User * u); +static void myNickServHelp(User * u); /** * Create the command, and tell anope about it. @@ -58,7 +58,7 @@ void AnopeFini(void) * Add the help response to anopes /ns help output. * @param u The user who is requesting help **/ -void myNickServHelp(User * u) +static void myNickServHelp(User * u) { if (is_services_admin(u)) { notice_lang(s_NickServ, u, NICK_HELP_CMD_GETEMAIL); @@ -70,7 +70,7 @@ void myNickServHelp(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_getemail(User * u) +static int do_getemail(User * u) { char *email = strtok(NULL, " "); int i, j = 0; -- cgit