summaryrefslogtreecommitdiff
path: root/src/spells2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
commit6cffbd70646ee66c3b2a2a2fd7fd35c23d88b93e (patch)
tree6c57ef3b4a7c3a8b48bddf76879a96c3f58f944a /src/spells2.cc
parent6baf465782e98e1146cad8f5c5e60c7b5792e94f (diff)
Move cmd5.cc function declarations to separate header file
Make a few of functions static, remove dead code and fix a few stray declarations while we're at it.
Diffstat (limited to 'src/spells2.cc')
-rw-r--r--src/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells2.cc b/src/spells2.cc
index be2bd7a9..04b62bc2 100644
--- a/src/spells2.cc
+++ b/src/spells2.cc
@@ -2892,7 +2892,7 @@ static bool_ item_tester_hook_weapon(object_type *o_ptr)
/*
* Hook to specify "armour"
*/
-bool_ item_tester_hook_armour(object_type *o_ptr)
+static bool_ item_tester_hook_armour(object_type *o_ptr)
{
switch (o_ptr->tval)
{