summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dungeon.cc8
-rw-r--r--src/externs.h4
2 files changed, 4 insertions, 8 deletions
diff --git a/src/dungeon.cc b/src/dungeon.cc
index 7f245d4d..3848d4dd 100644
--- a/src/dungeon.cc
+++ b/src/dungeon.cc
@@ -37,7 +37,7 @@
/*
* Return a "feeling" (or NULL) about an item. Method 1 (Heavy).
*/
-byte value_check_aux1(object_type *o_ptr)
+static byte value_check_aux1(object_type *o_ptr)
{
/* Artifacts */
if (artifact_p(o_ptr))
@@ -72,7 +72,7 @@ byte value_check_aux1(object_type *o_ptr)
return (SENSE_AVERAGE);
}
-byte value_check_aux1_magic(object_type *o_ptr)
+static byte value_check_aux1_magic(object_type *o_ptr)
{
object_kind *k_ptr = &k_info[o_ptr->k_idx];
@@ -139,7 +139,7 @@ byte value_check_aux1_magic(object_type *o_ptr)
/*
* Return a "feeling" (or NULL) about an item. Method 2 (Light).
*/
-byte value_check_aux2(object_type *o_ptr)
+static byte value_check_aux2(object_type *o_ptr)
{
/* Cursed items (all of them) */
if (cursed_p(o_ptr)) return (SENSE_CURSED);
@@ -161,7 +161,7 @@ byte value_check_aux2(object_type *o_ptr)
}
-byte value_check_aux2_magic(object_type *o_ptr)
+static byte value_check_aux2_magic(object_type *o_ptr)
{
object_kind *k_ptr = &k_info[o_ptr->k_idx];
diff --git a/src/externs.h b/src/externs.h
index 0896eae4..56fe8c1f 100644
--- a/src/externs.h
+++ b/src/externs.h
@@ -708,10 +708,6 @@ extern s32b sroot(s32b n);
extern int clamp_failure_chance(int chance, int minfail);
/* dungeon.c */
-extern byte value_check_aux1(object_type *o_ptr);
-extern byte value_check_aux1_magic(object_type *o_ptr);
-extern byte value_check_aux2(object_type *o_ptr);
-extern byte value_check_aux2_magic(object_type *o_ptr);
extern void play_game(bool_ new_game);
extern void sense_inventory();