summaryrefslogtreecommitdiffstats
path: root/atc/input.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-07-25 00:24:38 +0000
committerhubertf <hubertf@NetBSD.org>1999-07-25 00:24:38 +0000
commitda5bab8233f2698f91a021aa951723a66fda731c (patch)
tree355a7f966a064c1bc90744326c41bd8f42788066 /atc/input.c
parent3c08ccebb59d59eb0c012d59d6b6dd77d1a434b8 (diff)
downloadbsdgames-darwin-da5bab8233f2698f91a021aa951723a66fda731c.tar.gz
bsdgames-darwin-da5bab8233f2698f91a021aa951723a66fda731c.zip
This patch marks unused parameters in atc(6) as such.
Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'atc/input.c')
-rw-r--r--atc/input.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/atc/input.c b/atc/input.c
index 821d6055..a5c75dec 100644
--- a/atc/input.c
+++ b/atc/input.c
@@ -1,4 +1,4 @@
-/* $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
@@ -50,7 +50,7 @@
#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
@@ -374,7 +374,7 @@ setplane(c)
const char *
turn(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Planes at airports may not change direction");
@@ -383,7 +383,7 @@ turn(c)
const char *
circle(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Planes cannot circle on the ground");
@@ -393,7 +393,7 @@ circle(c)
const char *
left(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_LEFT;
p.new_dir = p.dir - 1;
@@ -404,7 +404,7 @@ left(c)
const char *
right(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_RIGHT;
p.new_dir = p.dir + 1;
@@ -415,7 +415,7 @@ right(c)
const char *
Left(c)
- char c;
+ char c __attribute__((__unused__));
{
p.new_dir = p.dir - 2;
if (p.new_dir < 0)
@@ -425,7 +425,7 @@ Left(c)
const char *
Right(c)
- char c;
+ char c __attribute__((__unused__));
{
p.new_dir = p.dir + 2;
if (p.new_dir >= MAXDIR)
@@ -481,7 +481,7 @@ delayb(c)
const char *
beacon(c)
- char c;
+ char c __attribute__((__unused__));
{
dest_type = T_BEACON;
return (NULL);
@@ -489,7 +489,7 @@ beacon(c)
const char *
ex_it(c)
- char c;
+ char c __attribute__((__unused__));
{
dest_type = T_EXIT;
return (NULL);
@@ -497,7 +497,7 @@ ex_it(c)
const char *
airport(c)
- char c;
+ char c __attribute__((__unused__));
{
dest_type = T_AIRPORT;
return (NULL);
@@ -505,7 +505,7 @@ airport(c)
const char *
climb(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_UP;
return (NULL);
@@ -513,7 +513,7 @@ climb(c)
const char *
descend(c)
- char c;
+ char c __attribute__((__unused__));
{
dir = D_DOWN;
return (NULL);
@@ -621,7 +621,7 @@ rel_dir(c)
const char *
mark(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Cannot mark planes on the ground");
@@ -633,7 +633,7 @@ mark(c)
const char *
unmark(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Cannot unmark planes on the ground");
@@ -645,7 +645,7 @@ unmark(c)
const char *
ignore(c)
- char c;
+ char c __attribute__((__unused__));
{
if (p.altitude == 0)
return ("Cannot ignore planes on the ground");