wmmoonclock: Use correct includes for each file.

This commit is contained in:
Doug Torrance 2017-08-14 18:49:28 -04:00 committed by Carlos R. Mafra
parent b9cdeb56df
commit 51be431e82
6 changed files with 10 additions and 12 deletions

View file

@ -1,6 +1,6 @@
#include <string.h>
#include "CalcEphem.h"
#include <math.h>
#include <string.h>
void CalcEphem(date, UT, c)
long int date; /* integer containing the date (e.g. 960829) */

View file

@ -1,6 +1,3 @@
#include <stdio.h>
#include <math.h>
#define DegPerRad 57.29577951308232087680
#define RadPerDeg 0.01745329251994329576
#define FALSE 0

View file

@ -1,4 +1,3 @@
#include <stdio.h>
#include <math.h>
#include "MoonRise.h"
#include "Moon.h"

View file

@ -104,13 +104,14 @@
/*
* Includes
*/
#include <math.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/select.h>
#include <time.h>
#include <X11/X.h>
#include <X11/xpm.h>
#include <X11/Xlib.h>
#include "CalcEphem.h"
#include "MoonRise.h"
#include "xutils.h"

View file

@ -31,12 +31,11 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <stdarg.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/xpm.h>
#include <X11/extensions/shape.h>
#include <X11/extensions/shapeconst.h>
#include "xutils.h"

View file

@ -1,7 +1,9 @@
#ifndef WMGENERAL_H_INCLUDED
#define WMGENERAL_H_INCLUDED
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/xpm.h>
/*
* Typedefs