Fix more warnings
This commit is contained in:
@@ -347,6 +347,10 @@ E void NDECL(unearth_you);
|
|||||||
E void NDECL(escape_tomb);
|
E void NDECL(escape_tomb);
|
||||||
E void FDECL(bury_obj, (struct obj *));
|
E void FDECL(bury_obj, (struct obj *));
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef DEBUG
|
||||||
|
extern int NDECL(wiz_debug_cmd_bury);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* ### display.c ### */
|
/* ### display.c ### */
|
||||||
|
|
||||||
|
|||||||
@@ -42,10 +42,6 @@ static boolean alt_esc = FALSE;
|
|||||||
#define CMD_TRAVEL (char) 0x90
|
#define CMD_TRAVEL (char) 0x90
|
||||||
#define CMD_CLICKLOOK (char) 0x8F
|
#define CMD_CLICKLOOK (char) 0x8F
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
extern int NDECL(wiz_debug_cmd_bury);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DUMB /* stuff commented out in extern.h, but needed here */
|
#ifdef DUMB /* stuff commented out in extern.h, but needed here */
|
||||||
extern int NDECL(doapply); /**/
|
extern int NDECL(doapply); /**/
|
||||||
extern int NDECL(dorub); /**/
|
extern int NDECL(dorub); /**/
|
||||||
|
|||||||
@@ -6,11 +6,16 @@
|
|||||||
#include "hack.h"
|
#include "hack.h"
|
||||||
|
|
||||||
static char *NDECL(nextmbuf);
|
static char *NDECL(nextmbuf);
|
||||||
|
static void FDECL(getpos_help_keyxhelp, (winid, const char *, const char *, int));
|
||||||
static void FDECL(getpos_help, (BOOLEAN_P, const char *));
|
static void FDECL(getpos_help, (BOOLEAN_P, const char *));
|
||||||
static int FDECL(CFDECLSPEC cmp_coord_distu, (const void *, const void *));
|
static int FDECL(CFDECLSPEC cmp_coord_distu, (const void *, const void *));
|
||||||
|
static int FDECL(gloc_filter_classify_glyph, (int));
|
||||||
|
static int FDECL(gloc_filter_floodfill_matcharea, (int, int));
|
||||||
|
static void FDECL(gloc_filter_floodfill, (int, int));
|
||||||
|
static void NDECL(gloc_filter_init);
|
||||||
|
static void NDECL(gloc_filter_done);
|
||||||
static boolean FDECL(gather_locs_interesting, (int, int, int));
|
static boolean FDECL(gather_locs_interesting, (int, int, int));
|
||||||
static void FDECL(gather_locs, (coord **, int *, int));
|
static void FDECL(gather_locs, (coord **, int *, int));
|
||||||
static int FDECL(gloc_filter_floodfill_matcharea, (int, int));
|
|
||||||
static void FDECL(auto_describe, (int, int));
|
static void FDECL(auto_describe, (int, int));
|
||||||
static void NDECL(do_mname);
|
static void NDECL(do_mname);
|
||||||
static boolean FDECL(alreadynamed, (struct monst *, char *, char *));
|
static boolean FDECL(alreadynamed, (struct monst *, char *, char *));
|
||||||
@@ -68,7 +73,7 @@ static const char *const gloc_filtertxt[NUM_GFILTER] = {
|
|||||||
" in this area"
|
" in this area"
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
static void
|
||||||
getpos_help_keyxhelp(tmpwin, k1, k2, gloc)
|
getpos_help_keyxhelp(tmpwin, k1, k2, gloc)
|
||||||
winid tmpwin;
|
winid tmpwin;
|
||||||
const char *k1;
|
const char *k1;
|
||||||
@@ -248,7 +253,7 @@ const void *b;
|
|||||||
(isok((x), (y)) \
|
(isok((x), (y)) \
|
||||||
&& (selection_getpoint((x),(y), g.gloc_filter_map)))
|
&& (selection_getpoint((x),(y), g.gloc_filter_map)))
|
||||||
|
|
||||||
int
|
static int
|
||||||
gloc_filter_classify_glyph(glyph)
|
gloc_filter_classify_glyph(glyph)
|
||||||
int glyph;
|
int glyph;
|
||||||
{
|
{
|
||||||
@@ -291,7 +296,7 @@ int x, y;
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
gloc_filter_floodfill(x, y)
|
gloc_filter_floodfill(x, y)
|
||||||
int x, y;
|
int x, y;
|
||||||
{
|
{
|
||||||
@@ -301,7 +306,7 @@ int x, y;
|
|||||||
selection_floodfill(g.gloc_filter_map, x, y, FALSE);
|
selection_floodfill(g.gloc_filter_map, x, y, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
gloc_filter_init()
|
gloc_filter_init()
|
||||||
{
|
{
|
||||||
if (iflags.getloc_filter == GFILTER_AREA) {
|
if (iflags.getloc_filter == GFILTER_AREA) {
|
||||||
@@ -322,7 +327,7 @@ gloc_filter_init()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
gloc_filter_done()
|
gloc_filter_done()
|
||||||
{
|
{
|
||||||
if (g.gloc_filter_map) {
|
if (g.gloc_filter_map) {
|
||||||
|
|||||||
Reference in New Issue
Block a user