wmmoonclock: Use correct includes for each file.
This commit is contained in:
		
							parent
							
								
									b9cdeb56df
								
							
						
					
					
						commit
						51be431e82
					
				
					 6 changed files with 10 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -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) */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,3 @@
 | 
			
		|||
#include <stdio.h>
 | 
			
		||||
#include <math.h>
 | 
			
		||||
 | 
			
		||||
#define DegPerRad       57.29577951308232087680
 | 
			
		||||
#define RadPerDeg        0.01745329251994329576
 | 
			
		||||
#define FALSE 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
#include <stdio.h>
 | 
			
		||||
#include <math.h>
 | 
			
		||||
#include "MoonRise.h"
 | 
			
		||||
#include "Moon.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue