summaryrefslogtreecommitdiff
path: root/src/core/cs_getpass.c
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-21 21:39:32 -0400
committerAdam <Adam@anope.org>2012-09-21 21:39:32 -0400
commit3779ed916a1bf70d744a7ba6ac5fa31862057d0f (patch)
tree0e1f5f3b2b8c36eefa8e52872fb2164fa5569075 /src/core/cs_getpass.c
parent3f05a42515b588b508419040e71b74ea2a27f1d0 (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/cs_getpass.c')
-rw-r--r--src/core/cs_getpass.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/cs_getpass.c b/src/core/cs_getpass.c
index fc59c385c..327fce6a0 100644
--- a/src/core/cs_getpass.c
+++ b/src/core/cs_getpass.c
@@ -14,8 +14,8 @@
#include "module.h"
-int do_getpass(User * u);
-void myChanServHelp(User * u);
+static int do_getpass(User * u);
+static void myChanServHelp(User * u);
/**
* Create the command, and tell anope about it.
@@ -55,7 +55,7 @@ void AnopeFini(void)
* Add the help response to anopes /cs help output.
* @param u The user who is requesting help
**/
-void myChanServHelp(User * u)
+static void myChanServHelp(User * u)
{
if (is_services_admin(u)) {
notice_lang(s_ChanServ, u, CHAN_HELP_CMD_GETPASS);
@@ -68,7 +68,7 @@ void myChanServHelp(User * u)
* @param MOD_CONT to continue processing other modules, MOD_STOP to stop processing.
**/
-int do_getpass(User * u)
+static int do_getpass(User * u)
{
char *chan = strtok(NULL, " ");
char tmp_pass[PASSMAX];