Pacify some clang compile warnings, pt 2

This commit is contained in:
Pasi Kallinen
2015-11-21 23:50:11 +02:00
parent 7063488621
commit 08b041f15f
3 changed files with 4 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ STATIC_DCL void FDECL(checkfile, (char *, struct permonst *,
BOOLEAN_P, BOOLEAN_P));
STATIC_DCL void FDECL(look_all, (BOOLEAN_P,BOOLEAN_P));
STATIC_DCL boolean FDECL(help_menu, (int *));
STATIC_DCL void NDECL(docontact);
#ifdef PORT_HELP
extern void NDECL(port_help);
#endif
@@ -378,7 +379,7 @@ boolean user_typed_name, without_asking;
dlb *fp;
char buf[BUFSZ], newstr[BUFSZ];
char *ep, *dbase_str;
unsigned long txt_offset;
unsigned long txt_offset = 0L;
int chk_skip;
boolean found_in_file = FALSE, skipping_entry = FALSE;
winid datawin = WIN_ERR;

View File

@@ -41,6 +41,7 @@ STATIC_DCL int FDECL(container_at, (int, int, BOOLEAN_P));
STATIC_DCL boolean FDECL(able_to_loot, (int, int, BOOLEAN_P));
STATIC_DCL boolean NDECL(reverse_loot);
STATIC_DCL boolean FDECL(mon_beside, (int, int));
STATIC_DCL int FDECL(do_loot_cont, (struct obj **));
STATIC_DCL void FDECL(tipcontainer, (struct obj *));
/* define for query_objlist() and autopickup() */

View File

@@ -18,6 +18,7 @@ static NEARDATA const char readable[] = { ALL_CLASSES, SCROLL_CLASS,
static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 };
STATIC_DCL boolean FDECL(learnscrolltyp, (SHORT_P));
STATIC_DCL char * FDECL(erode_obj_text, (struct obj *, char *));
STATIC_DCL void NDECL(do_class_genocide);
STATIC_DCL void FDECL(stripspe, (struct obj *));
STATIC_DCL void FDECL(p_glow1, (struct obj *));