diff --git a/win/share/tile.h b/win/share/tile.h index 8af84bbb4..e2249414f 100644 --- a/win/share/tile.h +++ b/win/share/tile.h @@ -1,7 +1,7 @@ /* NetHack 3.5 tile.h $Date$ $Revision$ */ typedef unsigned char pixval; -typedef struct pixel_t { +typedef struct pixel_s { pixval r, g, b; } pixel; diff --git a/win/tty/topl.c b/win/tty/topl.c index 87455468a..c717ba050 100644 --- a/win/tty/topl.c +++ b/win/tty/topl.c @@ -592,7 +592,6 @@ msghistory_snapshot(purge) boolean purge; /* clear message history buffer as we copy it */ { nhwchar *mesg; - unsigned ln; int i, inidx, outidx; struct WinDesc *cw;