summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-09-23 02:17:21 +0200
committerGitHub <noreply@github.com>2019-09-23 02:17:21 +0200
commit418b26dddca1d6ad9261adee56f96cf7c2c2de9b (patch)
treebd9c631b064f27f741e125a856e631dd6a13a9d6 /src/map/script.c
parent9a503ca86f8194135a86bad9070d64b21f56e2b6 (diff)
parent7ff0e074e74fd630f3bf90597605c82b4e10ec95 (diff)
downloadhercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.tar.gz
hercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.tar.bz2
hercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.tar.xz
hercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.zip
Merge pull request #2536 from MishimaHaruna/compile-fixes
Compile fixes
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index c7ec3c26f..df6e0d329 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -105,7 +105,7 @@ static inline void SETVALUE(struct script_buf *buf, int i, int n)
VECTOR_INDEX(*buf, i+2) = GetByte(n, 2);
}
-const char *script_op2name(int op)
+static const char *script_op2name(int op)
{
#define RETURN_OP_NAME(type) case type: return #type
switch( op ) {