ports/astro/ephem/files/patch-moonnf.c
Pav Lucistnik 409980699a - Fix build with gcc41
- Update maintainer's address

PR:		ports/108190
Submitted by:	Slaven Rezic <slaven@rezic.de> (maintainer)
2007-01-24 23:18:05 +00:00

11 lines
294 B
C

--- moonnf.c.orig Sun Jan 21 20:53:58 2007
+++ moonnf.c Sun Jan 21 20:54:21 2007
@@ -2,6 +2,8 @@
#include <math.h>
#include "astro.h"
+static m(double t, double k, double *mjd);
+
#define unw(w,z) ((w)-floor((w)/(z))*(z))
/* given a modified Julian date, mjd, return the mjd of the new