tiles lint
FDECL(foo, (boolean)) ought to have been using (BOOLEAN_P), but the tiles code isn't including the header which defines that, so change the argument to int.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 tile.h $NHDT-Date: 1432512803 2015/05/25 00:13:23 $ $NHDT-Branch: master $:$NHDT-Revision: 1.10 $ */
|
||||
/* NetHack 3.6 tile.h $NHDT-Date: 1466687973 2016/06/23 13:19:33 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.12 $ */
|
||||
typedef unsigned char pixval;
|
||||
|
||||
typedef struct pixel_s {
|
||||
@@ -35,7 +35,7 @@ extern boolean FDECL(read_text_tile, (pixel(*) [TILE_X]));
|
||||
extern boolean FDECL(write_text_tile, (pixel(*) [TILE_X]));
|
||||
extern int NDECL(fclose_text_file);
|
||||
|
||||
extern void FDECL(set_grayscale, (boolean));
|
||||
extern void FDECL(set_grayscale, (int));
|
||||
extern void NDECL(init_colormap);
|
||||
extern void NDECL(merge_colormap);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user