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/ms_del.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/ms_del.c') diff --git a/src/core/ms_del.c b/src/core/ms_del.c index 3eda19b3a..b2fc8e1ab 100644 --- a/src/core/ms_del.c +++ b/src/core/ms_del.c @@ -14,9 +14,9 @@ #include "module.h" -int do_del(User * u); -int del_memo_callback(User * u, int num, va_list args); -void myMemoServHelp(User * u); +static int do_del(User * u); +static int del_memo_callback(User * u, int num, va_list args); +static void myMemoServHelp(User * u); /** * Create the command, and tell anope about it. @@ -52,7 +52,7 @@ void AnopeFini(void) * Add the help response to anopes /ms help output. * @param u The user who is requesting help **/ -void myMemoServHelp(User * u) +static void myMemoServHelp(User * u) { notice_lang(s_MemoServ, u, MEMO_HELP_CMD_DEL); } @@ -62,7 +62,7 @@ void myMemoServHelp(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_del(User * u) +static int do_del(User * u) { MemoInfo *mi; ChannelInfo *ci; @@ -172,7 +172,7 @@ int do_del(User * u) * @param va_list Variable Arguemtns * @return 1 if successful, 0 if it fails */ -int del_memo_callback(User * u, int num, va_list args) +static int del_memo_callback(User * u, int num, va_list args) { MemoInfo *mi = va_arg(args, MemoInfo *); int *last = va_arg(args, int *); -- cgit