From 35350143fa4ef284d465bc95d9a1cfd230e5d98c Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sun, 14 Jun 2015 17:04:45 -0500 Subject: [PATCH] wmsun: Remove unused UTTohhmm function. --- wmsun/SunRise.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index a346160..21ff9c9 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -105,20 +105,6 @@ void SunRise(int year, int month, int day, double LocalHour, double *UTRise, dou } - -void UTTohhmm(double UT, int *h, int *m){ - - - if (UT < 0.0) { - *h = -1.0; - *m = -1.0; - } else { - *h = (int)UT; - *m = (int)((UT-(double)(*h))*60.0+0.5); - } - -} - double SinH(int year, int month, int day, double UT){ double TU, frac(), jd();