summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-06 20:56:17 -0300
committershennetsind <ind@henn.et>2013-04-06 20:56:17 -0300
commit16dfef6c5fe28d9008a304d4f5f650d7ac1dfbcd (patch)
tree3ad0e44541b5f12e322afbe2227989f18abb35a5
parent37f40ff5eaae41562629e4b7a429049d681fe2fa (diff)
downloadhercules-16dfef6c5fe28d9008a304d4f5f650d7ac1dfbcd.tar.gz
hercules-16dfef6c5fe28d9008a304d4f5f650d7ac1dfbcd.tar.bz2
hercules-16dfef6c5fe28d9008a304d4f5f650d7ac1dfbcd.tar.xz
hercules-16dfef6c5fe28d9008a304d4f5f650d7ac1dfbcd.zip
Fixed Bug #7149
Fixed warning in clang, all credits to mkbu95 for figuring it out http://hercules.ws/board/tracker/issue-7149-bug-in-clang-crashing-with-new-channel-system/ Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 7780d12e7..d878de709 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -8861,7 +8861,7 @@ ACMD_FUNC(join) {
return 0;
}
/* [Ind/Hercules] */
-inline void atcmd_channel_help(int fd, const char *command, bool can_create) {
+static inline void atcmd_channel_help(int fd, const char *command, bool can_create) {
sprintf(atcmd_output, msg_txt(1404),command); // %s failed.
clif->message(fd, atcmd_output);
clif->message(fd, msg_txt(1414));// --- Available options: