]> granicus.if.org Git - nethack/commitdiff
Silence some warnings
authorPasi Kallinen <paxed@alt.org>
Sat, 19 Aug 2017 10:38:38 +0000 (13:38 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 19 Aug 2017 10:38:38 +0000 (13:38 +0300)
src/apply.c
src/do_name.c

index 6337eb49d0904b2ad07a38096f84e9e8f30d12bd..93c449bbdd51693b778d496db2721854ab4ab098 100644 (file)
@@ -38,6 +38,8 @@ STATIC_DCL void FDECL(add_class, (char *, CHAR_P));
 STATIC_DCL void FDECL(setapplyclasses, (char *));
 STATIC_PTR boolean FDECL(check_jump, (genericptr_t, int, int));
 STATIC_DCL boolean FDECL(is_valid_jump_pos, (int, int, int, BOOLEAN_P));
+STATIC_DCL boolean FDECL(get_valid_jump_position, (int, int));
+STATIC_DCL boolean FDECL(get_valid_polearm_position, (int, int));
 STATIC_DCL boolean FDECL(find_poleable_mon, (coord *, int, int));
 
 #ifdef AMIGA
@@ -1566,7 +1568,7 @@ boolean showmsg;
 
 static int jumping_is_magic;
 
-boolean
+STATIC_OVL boolean
 get_valid_jump_position(x,y)
 int x,y;
 {
@@ -2860,7 +2862,7 @@ int min_range, max_range;
 static int polearm_range_min = -1;
 static int polearm_range_max = -1;
 
-boolean
+STATIC_OVL boolean
 get_valid_polearm_position(x,y)
 int x,y;
 {
index 7dec3fb7da043e2f0ac58841900842ed97c9f37f..38b90fc451b742f7a5cae11cad1d443baa869d10 100644 (file)
@@ -10,6 +10,7 @@ STATIC_DCL int FDECL(CFDECLSPEC cmp_coord_distu, (const void *,
                                                   const void *));
 STATIC_DCL boolean FDECL(gather_locs_interesting, (int, int, int));
 STATIC_DCL void FDECL(gather_locs, (coord **, int *, int));
+STATIC_DCL int FDECL(gloc_filter_floodfill_matcharea, (int, int));
 STATIC_DCL void FDECL(auto_describe, (int, int));
 STATIC_DCL void NDECL(do_mname);
 STATIC_DCL boolean FDECL(alreadynamed, (struct monst *, char *, char *));