mi: 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
2906a9406a
commit
ea07722266
|
@ -71,13 +71,13 @@ SOFTWARE.
|
|||
* authorization from the copyright holder(s) and author(s).
|
||||
*/
|
||||
|
||||
#ifndef MIINITEXT_H
|
||||
#define MIINITEXT_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef MIINITEXT_H
|
||||
#define MIINITEXT_H
|
||||
|
||||
void ListStaticExtensions(void);
|
||||
|
||||
#endif /* MIINITEXT_H */
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
#ifndef __MIOVERLAY_H
|
||||
#define __MIOVERLAY_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef __MIOVERLAY_H
|
||||
#define __MIOVERLAY_H
|
||||
|
||||
typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr);
|
||||
typedef Bool (*miOverlayInOverlayFunc) (WindowPtr);
|
||||
|
||||
|
|
|
@ -26,12 +26,13 @@ from The Open Group.
|
|||
|
||||
*/
|
||||
|
||||
#ifndef SCANFILLINCLUDED
|
||||
#define SCANFILLINCLUDED
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef SCANFILLINCLUDED
|
||||
#define SCANFILLINCLUDED
|
||||
/*
|
||||
* scanfill.h
|
||||
*
|
||||
|
|
|
@ -26,13 +26,13 @@ from The Open Group.
|
|||
|
||||
*/
|
||||
|
||||
#ifndef MIVALIDATE_H
|
||||
#define MIVALIDATE_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef MIVALIDATE_H
|
||||
#define MIVALIDATE_H
|
||||
|
||||
#include "regionstr.h"
|
||||
|
||||
typedef union _Validate {
|
||||
|
|
Loading…
Reference in New Issue