summaryrefslogtreecommitdiff
path: root/src/birth.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
commit21bbf94c159d161058282696630e0e0431917e92 (patch)
tree98d47e87d7e1527da774efea24380860073a4f6f /src/birth.cc
parentb0eb19b7a0750759d429c78845888e88de517352 (diff)
Move birth.cc function declarations to separate header
We leave the no_begin_screen variable because it needs to be accessed by non-C++ code.
Diffstat (limited to 'src/birth.cc')
-rw-r--r--src/birth.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/birth.cc b/src/birth.cc
index 21f1f5bf..458b2049 100644
--- a/src/birth.cc
+++ b/src/birth.cc
@@ -5,6 +5,7 @@
* not for profit purposes provided that this copyright and statement are
* included in all such copies.
*/
+#include "birth.hpp"
#include "angband.h"
#include "corrupt.hpp"
@@ -586,7 +587,7 @@ static void get_history(void)
/*
* Fill the random_artifacts array with relevant info.
*/
-errr init_randart(void)
+static errr init_randart(void)
{
int i;