[PATCH 07/23] wmsun: Add return types to functions.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmsun/SunRise.c | 6 +++---
 wmsun/wmSun.c   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c
index c9742d5..1e16320 100644
--- a/wmsun/SunRise.c
+++ b/wmsun/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/wmSun.c b/wmsun/wmSun.c
index 7979181..6de1a0d 100644
--- a/wmsun/wmSun.c
+++ b/wmsun/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;
-- 
2.1.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.