summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-06-07 17:49:09 +0200
committerBardur Arantsson <bardur@scientician.net>2015-06-07 17:49:09 +0200
commit1c77168443ac81aea3438a0a437beda8907eae47 (patch)
tree2efb19e0215a05eee58043698f5218e16a8dfa26
parentb098345c0e9d3044dc8ad1c238eb29d805062db2 (diff)
Add missing "static" to is_state_aux/kind_is_theme
-rw-r--r--src/bldg.cc2
-rw-r--r--src/object2.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bldg.cc b/src/bldg.cc
index 640c04f5..d4a1d518 100644
--- a/src/bldg.cc
+++ b/src/bldg.cc
@@ -39,7 +39,7 @@ static int building_loc = 0;
/*
* A helper function for is_state
*/
-bool_ is_state_aux(store_type *s_ptr, int state)
+static bool_ is_state_aux(store_type *s_ptr, int state)
{
owner_type *ow_ptr = &ow_info[s_ptr->owner];
diff --git a/src/object2.cc b/src/object2.cc
index 6b56d6dd..496b542d 100644
--- a/src/object2.cc
+++ b/src/object2.cc
@@ -4435,7 +4435,7 @@ static bool_ theme_changed(obj_theme theme)
/*
* Maga-Hack -- match certain types of object only.
*/
-bool_ kind_is_theme(int k_idx)
+static bool kind_is_theme(int k_idx)
{
object_kind *k_ptr = &k_info[k_idx];