summaryrefslogtreecommitdiff
path: root/src/spells3.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:55 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:55 +0100
commita57405010bda0405f207a6445690d70a5969d0fd (patch)
tree650ba1511d64c50dd3d88a7cb4bc06fe3ff56cce /src/spells3.cc
parent4d02b27e4b657cd0691f990c10816090b8c2b316 (diff)
Make get_level_s static
There was exactly one usage outside of spells3.cc, so inline that.
Diffstat (limited to 'src/spells3.cc')
-rw-r--r--src/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells3.cc b/src/spells3.cc
index e4f3bfcd..19f45d54 100644
--- a/src/spells3.cc
+++ b/src/spells3.cc
@@ -172,7 +172,7 @@ s32b VARDA_CALL_ALMAREN;
s32b VARDA_EVENSTAR;
s32b VARDA_STARKINDLER;
-s32b get_level_s(int sp, int max)
+static s32b get_level_s(int sp, int max)
{
return get_level(sp, max, 1);
}