[Pkg-wmaker-commits] [wmsun] 25/73: wmsun: Add return types to functions.

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 1b8128ec93c79c92d4a240851de8c64c4dd321ac
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Jun 14 17:04:40 2015 -0500

    wmsun: Add return types to functions.
---
 SunRise.c | 6 +++---
 wmSun.c   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/SunRise.c b/SunRise.c
index c9742d5..1e16320 100644
--- a/SunRise.c
+++ b/SunRise.c
@@ -10,7 +10,7 @@ double    cosEPS = 0.91748;
 double    sinEPS = 0.39778;
 double    P2  = 6.283185307;
 
-Interp(double ym, double y0, double yp, double *xe, double *ye, double *z1, double *z2, int *nz){
+int Interp(double ym, double y0, double yp, double *xe, double *ye, double *z1, double *z2, int *nz){
 
     double	a, b, c, d, dx;
 
@@ -36,7 +36,7 @@ Interp(double ym, double y0, double yp, double *xe, double *ye, double *z1, doub
 
 }
 
-SunRise(int year, int month, int day, double LocalHour, double *UTRise, double *UTSet){
+void SunRise(int year, int month, int day, double LocalHour, double *UTRise, double *UTSet){
 
     double	UT, ym, y0, yp, SinH0;
     double	xe, ye, z1, z2, SinH(), hour24();
@@ -105,7 +105,7 @@ SunRise(int year, int month, int day, double LocalHour, double *UTRise, double *
 }
 
 
-UTTohhmm(double UT, int *h, int *m){
+void UTTohhmm(double UT, int *h, int *m){
 
 
     if (UT < 0.0) {
diff --git a/wmSun.c b/wmSun.c
index 7979181..6de1a0d 100644
--- a/wmSun.c
+++ b/wmSun.c
@@ -98,7 +98,7 @@
 
 void ParseCMDLine(int argc, char *argv[]);
 void pressEvent(XButtonEvent *xev);
-SunRise(int year, int month, int day, double LocalHour, double *UTRise,
+void SunRise(int year, int month, int day, double LocalHour, double *UTRise,
 	double *UTSet);
 
 int	ToggleWindow = 0;

-- 
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