diff options
author | jtc <jtc@NetBSD.org> | 1996-02-06 22:47:06 +0000 |
---|---|---|
committer | jtc <jtc@NetBSD.org> | 1996-02-06 22:47:06 +0000 |
commit | 46b902da5252697ebfccc29f3d5525122fbf1033 (patch) | |
tree | f7c6fcdeb002325c6f5303f8bbe64561e7226af0 /pom | |
parent | de10823315b591023db0037ec148e6f7f8e647bc (diff) | |
download | bsdgames-darwin-46b902da5252697ebfccc29f3d5525122fbf1033.tar.gz bsdgames-darwin-46b902da5252697ebfccc29f3d5525122fbf1033.tar.zst bsdgames-darwin-46b902da5252697ebfccc29f3d5525122fbf1033.zip |
Removed "extern int errno"; Added #include <errno.h> if not already present.
Diffstat (limited to 'pom')
-rw-r--r-- | pom/pom.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: pom.c,v 1.5 1995/06/07 16:30:46 cgd Exp $ */ +/* $NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $ */ /* * Copyright (c) 1989, 1993 @@ -45,7 +45,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)pom.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: pom.c,v 1.5 1995/06/07 16:30:46 cgd Exp $"; +static char rcsid[] = "$NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $"; #endif #endif /* not lint */ @@ -64,6 +64,7 @@ static char rcsid[] = "$NetBSD: pom.c,v 1.5 1995/06/07 16:30:46 cgd Exp $"; #include <string.h> #include <tzfile.h> #include <math.h> +#include <errno.h> #define PI 3.141592654 #define EPOCH 85 @@ -78,7 +79,6 @@ double dtor(), potm(), adj360(); main() { - extern int errno; struct timeval tp; struct timezone tzp; struct tm *GMT, *gmtime(); |