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/bs_fantasy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/bs_fantasy.c') diff --git a/src/core/bs_fantasy.c b/src/core/bs_fantasy.c index c8fa9dad8..d0b7d711c 100644 --- a/src/core/bs_fantasy.c +++ b/src/core/bs_fantasy.c @@ -14,7 +14,7 @@ #include "module.h" -int do_fantasy(int argc, char **argv); +static int do_fantasy(int argc, char **argv); /** * Create the hook, and tell anope about it. @@ -49,7 +49,7 @@ void AnopeFini(void) * @param argv Argument list * @return MOD_CONT or MOD_STOP **/ -int do_fantasy(int argc, char **argv) +static int do_fantasy(int argc, char **argv) { User *u; ChannelInfo *ci; -- cgit