diff options
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r-- | src/xtra2.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc index 41888186..63e2f45f 100644 --- a/src/xtra2.cc +++ b/src/xtra2.cc @@ -1,8 +1,3 @@ -/* File: xtra2.c */ -/* File: xtra2.c */ - -/* Purpose: effects of various "objects", targetting and panel handling */ - /* * Copyright (c) 1989 James E. Wilson, Robert A. Koeneke * @@ -11,6 +6,8 @@ * included in all such copies. */ +#include "xtra2.hpp" + #include "angband.h" #include "corrupt.hpp" #include "gods.hpp" @@ -5356,7 +5353,7 @@ void set_grace(s32b v) handle_stuff(); } -bool_ test_object_wish(char *name, object_type *o_ptr, object_type *forge, const char *what) +static bool_ test_object_wish(char *name, object_type *o_ptr, object_type *forge, const char *what) { int i, j, jb, save_aware; char buf[200]; @@ -5474,7 +5471,7 @@ bool_ test_object_wish(char *name, object_type *o_ptr, object_type *forge, const return FALSE; } -void clean_wish_name(char *buf, char *name) +static void clean_wish_name(char *buf, char *name) { char *p; int i, j; |