diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
commit | 1c77168443ac81aea3438a0a437beda8907eae47 (patch) | |
tree | 2efb19e0215a05eee58043698f5218e16a8dfa26 | |
parent | b098345c0e9d3044dc8ad1c238eb29d805062db2 (diff) |
Add missing "static" to is_state_aux/kind_is_theme
-rw-r--r-- | src/bldg.cc | 2 | ||||
-rw-r--r-- | src/object2.cc | 2 |
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]; |