[Pkg-wmaker-commits] [wmsun] 30/73: wmsun: Remove unused UTTohhmm function.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 12:04:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmsun.

commit 31dd221309400659a632ee4f190aeb1d9c3c8e97
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Jun 14 17:04:45 2015 -0500

    wmsun: Remove unused UTTohhmm function.
---
 SunRise.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/SunRise.c b/SunRise.c
index a346160..21ff9c9 100644
--- a/SunRise.c
+++ b/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();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmsun.git



More information about the Pkg-wmaker-commits mailing list