diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index 5af0842..289cfb1 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -1,5 +1,4 @@ -#include -#include +#include /* for sin, cos, fabs, sqrt, atan, etc */ #define DegPerRad 57.29577951308232087680 #define RadPerDeg 0.01745329251994329576 diff --git a/wmsun/wmsun.c b/wmsun/wmsun.c index 4401aaa..f8e55e3 100644 --- a/wmsun/wmsun.c +++ b/wmsun/wmsun.c @@ -44,17 +44,18 @@ * Includes */ #define _POSIX_C_SOURCE 1 -#include -#include -#include -#include -#include -#include -#include -#include -#include "wmgeneral/wmgeneral.h" -#include "wmSun_master.xpm" -#include "wmSun_mask.xbm" +#include /* for ButtonPress, ButtonRelease, etc */ +#include /* for XEvent, ConnectionNumber, etc */ +#include /* for cos, sin */ +#include /* for printf, NULL */ +#include /* for atof, atoi, exit */ +#include /* for strcmp */ +#include /* for select, FD_SET, FD_ZERO, etc */ +#include /* for timeval */ +#include /* for tm, gmtime_r, localtime_r, etc */ +#include "wmSun_mask.xbm" /* for wmSun_mask_bits, etc */ +#include "wmSun_master.xpm" /* for wmSun_master */ +#include "wmgeneral/wmgeneral.h" /* for copyXPMArea, display, etc */