From 82852318e37fa7eddacc3dd162a2d16d3a7487b9 Mon Sep 17 00:00:00 2001 From: jsm Date: Wed, 8 Sep 1999 21:45:25 +0000 Subject: Add `__noreturn__' and `__unused__' attributes where appropriate to the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed). --- trek/computer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trek/computer.c') diff --git a/trek/computer.c b/trek/computer.c index cb08ae6d..d6ebe9cb 100644 --- a/trek/computer.c +++ b/trek/computer.c @@ -1,4 +1,4 @@ -/* $NetBSD: computer.c,v 1.6 1999/07/21 13:19:10 hubertf Exp $ */ +/* $NetBSD: computer.c,v 1.7 1999/09/08 21:45:32 jsm Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: computer.c,v 1.6 1999/07/21 13:19:10 hubertf Exp $"); +__RCSID("$NetBSD: computer.c,v 1.7 1999/09/08 21:45:32 jsm Exp $"); #endif #endif /* not lint */ @@ -113,7 +113,7 @@ static void prkalc __P((int, double)); /*ARGSUSED*/ void computer(v) - int v; + int v __attribute__((__unused__)); { int ix, iy; int i, j; -- cgit v1.2.3-56-ge451