composite: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
This commit is contained in:
		
							parent
							
								
									88693ad15f
								
							
						
					
					
						commit
						d7b6352154
					
				| 
						 | 
				
			
			@ -41,13 +41,13 @@
 | 
			
		|||
 * PERFORMANCE OF THIS SOFTWARE.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef _COMPINT_H_
 | 
			
		||||
#define _COMPINT_H_
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_DIX_CONFIG_H
 | 
			
		||||
#include <dix-config.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef _COMPINT_H_
 | 
			
		||||
#define _COMPINT_H_
 | 
			
		||||
 | 
			
		||||
#include "dix/screen_hooks_priv.h"
 | 
			
		||||
 | 
			
		||||
#include "misc.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,13 +21,13 @@
 | 
			
		|||
 * SOFTWARE.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef _COMPOSITEEXT_H_
 | 
			
		||||
#define _COMPOSITEEXT_H_
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_DIX_CONFIG_H
 | 
			
		||||
#include <dix-config.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef _COMPOSITEEXT_H_
 | 
			
		||||
#define _COMPOSITEEXT_H_
 | 
			
		||||
 | 
			
		||||
#include "misc.h"
 | 
			
		||||
#include "scrnintstr.h"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue