-/* $NetBSD: grammar.y,v 1.5 1999/07/21 13:10:47 hubertf Exp $ */
+/* $NetBSD: grammar.y,v 1.6 1999/07/25 00:24:38 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)grammar.y 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: grammar.y,v 1.5 1999/07/21 13:10:47 hubertf Exp $");
+__RCSID("$NetBSD: grammar.y,v 1.6 1999/07/25 00:24:38 hubertf Exp $");
#endif
#endif /* not lint */
void
check_adir(x, y, dir)
- int x, y, dir;
+ int x __attribute__((__unused__)), y __attribute__((__unused__)), dir __attribute__((__unused__));
{
}
-/* $NetBSD: graphics.c,v 1.6 1999/07/24 23:58:15 hubertf Exp $ */
+/* $NetBSD: graphics.c,v 1.7 1999/07/25 00:24:38 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)graphics.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: graphics.c,v 1.6 1999/07/24 23:58:15 hubertf Exp $");
+__RCSID("$NetBSD: graphics.c,v 1.7 1999/07/25 00:24:38 hubertf Exp $");
#endif
#endif /* not lint */
void
quit(dummy)
- int dummy;
+ int dummy __attribute__((__unused__));
{
int c, y, x;
#ifdef BSD
-/* $NetBSD: input.c,v 1.12 1999/07/17 19:57:03 hubertf Exp $ */
+/* $NetBSD: input.c,v 1.13 1999/07/25 00:24:38 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)input.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: input.c,v 1.12 1999/07/17 19:57:03 hubertf Exp $");
+__RCSID("$NetBSD: input.c,v 1.13 1999/07/25 00:24:38 hubertf Exp $");
#endif
#endif not lint
const char *
turn(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Planes at airports may not change direction");
const char *
circle(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Planes cannot circle on the ground");
const char *
left(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_LEFT;
p.new_dir = p.dir - 1;
const char *
right(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_RIGHT;
p.new_dir = p.dir + 1;
const char *
Left(c)
- char c;
+ char c __attribute__((__unused__));
{
p.new_dir = p.dir - 2;
if (p.new_dir < 0)
const char *
Right(c)
- char c;
+ char c __attribute__((__unused__));
{
p.new_dir = p.dir + 2;
if (p.new_dir >= MAXDIR)
const char *
beacon(c)
- char c;
+ char c __attribute__((__unused__));
{
dest_type = T_BEACON;
return (NULL);
const char *
ex_it(c)
- char c;
+ char c __attribute__((__unused__));
{
dest_type = T_EXIT;
return (NULL);
const char *
airport(c)
- char c;
+ char c __attribute__((__unused__));
{
dest_type = T_AIRPORT;
return (NULL);
const char *
climb(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_UP;
return (NULL);
const char *
descend(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_DOWN;
return (NULL);
const char *
mark(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Cannot mark planes on the ground");
const char *
unmark(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Cannot unmark planes on the ground");
const char *
ignore(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Cannot ignore planes on the ground");
-/* $NetBSD: log.c,v 1.9 1999/07/17 19:57:03 hubertf Exp $ */
+/* $NetBSD: log.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)log.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: log.c,v 1.9 1999/07/17 19:57:03 hubertf Exp $");
+__RCSID("$NetBSD: log.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $");
#endif
#endif not lint
void
log_score_quit(dummy)
- int dummy;
+ int dummy __attribute__((__unused__));
{
(void)log_score(0);
exit(0);
-/* $NetBSD: update.c,v 1.9 1999/07/24 23:58:15 hubertf Exp $ */
+/* $NetBSD: update.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)update.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: update.c,v 1.9 1999/07/24 23:58:15 hubertf Exp $");
+__RCSID("$NetBSD: update.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $");
#endif
#endif not lint
void
update(dummy)
- int dummy;
+ int dummy __attribute__((__unused__));
{
int i, dir_diff, unclean;
PLANE *pp, *p1, *p2;