22 lines
593 B
Plaintext
22 lines
593 B
Plaintext
$NetBSD: patch-ac,v 1.1 2012/08/28 17:14:13 is Exp $
|
|
|
|
--- phoon.c.orig 2005-05-20 19:10:24.000000000 +0000
|
|
+++ phoon.c
|
|
@@ -45,6 +45,7 @@
|
|
*/
|
|
|
|
|
|
+#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <math.h>
|
|
#include <time.h>
|
|
@@ -354,7 +355,7 @@ putmoon( time_t t, int numlines, char* a
|
|
struct tm* tmP;
|
|
double jd, pctphase, angphase, cphase, aom, cdist, cangdia, csund, csuang;
|
|
double phases[2], which[2];
|
|
- long clocknow;
|
|
+ time_t clocknow;
|
|
int atflrlen, atflridx, numcols, lin, col, midlin;
|
|
double mcap, yrad, xrad, y, xright, xleft;
|
|
int colright, colleft;
|