-/* $NetBSD: fly.c,v 1.6 1997/10/11 02:07:20 lukem Exp $ */
+/* $NetBSD: fly.c,v 1.8 1999/09/08 21:45:25 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)fly.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: fly.c,v 1.6 1997/10/11 02:07:20 lukem Exp $");
+__RCSID("$NetBSD: fly.c,v 1.8 1999/09/08 21:45:25 jsm Exp $");
#endif
#endif /* not lint */
void
succumb(dummy)
- int dummy;
+ int dummy __attribute__((__unused__));
{
if (oldsig == SIG_DFL) {
endfly();
visual()
{
destroyed = 0;
- if (initscr() == ERR) {
+ if (initscr() == NULL) {
puts("Whoops! No more memory...");
return (0);
}
void
moveenemy(dummy)
- int dummy;
+ int dummy __attribute__((__unused__));
{
double d;
int oldr, oldc;