summaryrefslogtreecommitdiff
path: root/src/cmd5.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:59 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:59 +0100
commit5ef53fee463b7f93b8b890ed8e6ff0db778bd596 (patch)
tree9edeb65b885f9c2108239725009c214b2d227c0f /src/cmd5.cc
parent63fae54381d0898503c5dc7f4dcfabc125c04807 (diff)
Move xtra2.cc functions to separate header
Remove some functions and make others static while we're at it.
Diffstat (limited to 'src/cmd5.cc')
-rw-r--r--src/cmd5.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd5.cc b/src/cmd5.cc
index 88939a67..aaedc465 100644
--- a/src/cmd5.cc
+++ b/src/cmd5.cc
@@ -13,6 +13,7 @@
#include "spells5.hpp"
#include "quark.h"
#include "xtra1.hpp"
+#include "xtra2.hpp"
#include <cassert>
@@ -135,7 +136,7 @@ void do_cmd_browse(void)
do_cmd_browse_aux(o_ptr);
}
-void do_poly_wounds(void)
+static void do_poly_wounds()
{
/* Changed to always provide at least _some_ healing */
s16b wounds = p_ptr->cut;