freebsd-ports/astro/ephem/files/patch-aa_hadec.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

12 lines
454 B
C

diff -u aa_hadec.c.orig aa_hadec.c
--- aa_hadec.c.orig Sat Mar 14 23:21:50 1992
+++ aa_hadec.c Sun Jan 21 20:33:08 2007
@@ -2,6 +2,8 @@
#include <math.h>
#include "astro.h"
+static aaha_aux (double lat, double x, double y, double *p, double *q);
+
/* given latitude (n+, radians), lat, altitude (up+, radians), alt, and
* azimuth (angle round to the east from north+, radians),
* return hour angle (radians), ha, and declination (radians), dec.