summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xtra2.cc2
-rw-r--r--src/xtra2.hpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc
index 7f20b466..019d21c4 100644
--- a/src/xtra2.cc
+++ b/src/xtra2.cc
@@ -3824,7 +3824,7 @@ static void ang_sort(vptr u, vptr v, int n)
* Future versions may restrict the ability to target "trappers"
* and "mimics", but the semantics is a little bit weird.
*/
-bool_ target_able(int m_idx)
+static bool target_able(int m_idx)
{
monster_type *m_ptr = &m_list[m_idx];
diff --git a/src/xtra2.hpp b/src/xtra2.hpp
index 57e4fda3..e7cf0057 100644
--- a/src/xtra2.hpp
+++ b/src/xtra2.hpp
@@ -72,7 +72,6 @@ extern bool_ mon_take_hit(int m_idx, int dam, bool_ *fear, cptr note);
extern bool_ change_panel(int dy, int dx);
extern void verify_panel(void);
extern cptr look_mon_desc(int m_idx);
-extern bool_ target_able(int m_idx);
extern bool_ target_okay(void);
extern bool_ target_set(int mode);
extern bool_ get_aim_dir(int *dp);