From ec5e11d622b04da62c04add1a34d40ba101d6d56 Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 11 Sep 1998 12:53:28 +0000 Subject: better define PI, plus improve prototype (PR#5867) --- atc/def.h | 6 ++++-- atc/update.c | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'atc') diff --git a/atc/def.h b/atc/def.h index 1290a30e..f9f6aad9 100644 --- a/atc/def.h +++ b/atc/def.h @@ -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; -- cgit v1.2.3-56-ge451