diff options
author | hubertf <hubertf@NetBSD.org> | 1998-09-11 12:53:28 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1998-09-11 12:53:28 +0000 |
commit | ec5e11d622b04da62c04add1a34d40ba101d6d56 (patch) | |
tree | 04f3fc12ada2965b5a943d5183d561b6e3a54fa1 /atc | |
parent | 3039b8f2001e9a8bd5c172aa9de1a903e8746b18 (diff) | |
download | bsdgames-darwin-ec5e11d622b04da62c04add1a34d40ba101d6d56.tar.gz bsdgames-darwin-ec5e11d622b04da62c04add1a34d40ba101d6d56.tar.zst bsdgames-darwin-ec5e11d622b04da62c04add1a34d40ba101d6d56.zip |
better define PI, plus improve prototype (PR#5867)
Diffstat (limited to 'atc')
-rw-r--r-- | atc/def.h | 6 | ||||
-rw-r--r-- | atc/update.c | 5 |
2 files changed, 7 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: def.h,v 1.3 1995/03/21 15:03:47 cgd Exp $ */ +/* $NetBSD: def.h,v 1.4 1998/09/11 12:53:28 hubertf Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -49,7 +49,9 @@ #define AUTHOR_STR "ATC - by Ed James" -#define PI 3.14159654 +#ifndef PI +#define PI 3.14159265358979323846 +#endif #define LOWFUEL 15 diff --git a/atc/update.c b/atc/update.c index ef15c705..516036ba 100644 --- a/atc/update.c +++ b/atc/update.c @@ -1,4 +1,4 @@ -/* $NetBSD: update.c,v 1.6 1997/10/10 02:07:34 lukem Exp $ */ +/* $NetBSD: update.c,v 1.7 1998/09/11 12:53:29 hubertf Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -50,7 +50,7 @@ #if 0 static char sccsid[] = "@(#)update.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: update.c,v 1.6 1997/10/10 02:07:34 lukem Exp $"); +__RCSID("$NetBSD: update.c,v 1.7 1998/09/11 12:53:29 hubertf Exp $"); #endif #endif not lint @@ -377,6 +377,7 @@ addplane() PLANE * findplane(n) + int n; { PLANE *pp; |