move config.h inclusion after type declarations
This commit is contained in:
		
							parent
							
								
									597469541c
								
							
						
					
					
						commit
						7d31ff65a0
					
				
							
								
								
									
										4
									
								
								slock.c
								
								
								
								
							
							
						
						
									
										4
									
								
								slock.c
								
								
								
								
							| 
						 | 
					@ -31,8 +31,6 @@ enum {
 | 
				
			||||||
	NUMCOLS
 | 
						NUMCOLS
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "config.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct lock {
 | 
					struct lock {
 | 
				
			||||||
	int screen;
 | 
						int screen;
 | 
				
			||||||
	Window root, win;
 | 
						Window root, win;
 | 
				
			||||||
| 
						 | 
					@ -46,6 +44,8 @@ struct xrandr {
 | 
				
			||||||
	int errbase;
 | 
						int errbase;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
die(const char *errstr, ...)
 | 
					die(const char *errstr, ...)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue