diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:40 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:40 +0100 |
commit | ef6f8df29a69e5462fce11589b9a6778f02f22b5 (patch) | |
tree | b2ce096fc4f19cc8a42c759ff24143b49a2210a2 /src/levels.cc | |
parent | d2b23810e3349e7cb12d8c51d2a630c6a31d7cd0 (diff) |
Split levels.cc declarations to separate header file
Diffstat (limited to 'src/levels.cc')
-rw-r--r-- | src/levels.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/levels.cc b/src/levels.cc index 54c697d0..d22f5e70 100644 --- a/src/levels.cc +++ b/src/levels.cc @@ -1,7 +1,3 @@ -/* File: levels.c */ - -/* Purpose: Levels functions */ - /* * Copyright (c) 1989 James E. Wilson, Robert A. Koeneke * @@ -10,6 +6,8 @@ * included in all such copies. */ +#include "levels.hpp" + #include "angband.h" #include "util.hpp" #include "util.h" @@ -19,7 +17,7 @@ * Return the parameter of the given command in the given file */ static int start_line = 0; -bool_ get_command(const char *file, char comm, char *param) +static bool_ get_command(const char *file, char comm, char *param) { char buf[1024]; int i = -1; |