miext: 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
ea07722266
commit
824ca40d42
|
@ -20,13 +20,13 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _DAMAGE_H_
|
||||
#define _DAMAGE_H_
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _DAMAGE_H_
|
||||
#define _DAMAGE_H_
|
||||
|
||||
typedef struct _damage *DamagePtr;
|
||||
|
||||
typedef enum _damageReportLevel {
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _DAMAGESTR_H_
|
||||
#define _DAMAGESTR_H_
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _DAMAGESTR_H_
|
||||
#define _DAMAGESTR_H_
|
||||
|
||||
#include "damage.h"
|
||||
#include "gcstruct.h"
|
||||
#include "privates.h"
|
||||
|
|
|
@ -28,13 +28,13 @@
|
|||
* use or other dealings in this Software without prior written authorization.
|
||||
*/
|
||||
|
||||
#ifndef _ROOTLESS_H
|
||||
#define _ROOTLESS_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _ROOTLESS_H
|
||||
#define _ROOTLESS_H
|
||||
|
||||
#include "rootlessConfig.h"
|
||||
#include "mi.h"
|
||||
#include "gcstruct.h"
|
||||
|
|
|
@ -28,13 +28,14 @@
|
|||
* use or other dealings in this Software without prior written authorization.
|
||||
*/
|
||||
|
||||
#ifndef _ROOTLESSCOMMON_H
|
||||
#define _ROOTLESSCOMMON_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#ifndef _ROOTLESSCOMMON_H
|
||||
#define _ROOTLESSCOMMON_H
|
||||
|
||||
#include "misc.h"
|
||||
#include "rootless.h"
|
||||
|
|
|
@ -27,13 +27,13 @@
|
|||
* use or other dealings in this Software without prior written authorization.
|
||||
*/
|
||||
|
||||
#ifndef _ROOTLESSCONFIG_H
|
||||
#define _ROOTLESSCONFIG_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _ROOTLESSCONFIG_H
|
||||
#define _ROOTLESSCONFIG_H
|
||||
|
||||
/*# define ROOTLESSDEBUG*/
|
||||
|
||||
#define ROOTLESS_PROTECT_ALPHA TRUE
|
||||
|
|
|
@ -27,13 +27,13 @@
|
|||
* use or other dealings in this Software without prior written authorization.
|
||||
*/
|
||||
|
||||
#ifndef _ROOTLESSWINDOW_H
|
||||
#define _ROOTLESSWINDOW_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _ROOTLESSWINDOW_H
|
||||
#define _ROOTLESSWINDOW_H
|
||||
|
||||
#include "dix/screen_hooks_priv.h"
|
||||
|
||||
#include "rootlessCommon.h"
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _MISYNC_H_
|
||||
#define _MISYNC_H_
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _MISYNC_H_
|
||||
#define _MISYNC_H_
|
||||
|
||||
typedef struct _SyncObject SyncObject;
|
||||
typedef struct _SyncFence SyncFence;
|
||||
typedef struct _SyncTrigger SyncTrigger;
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _MISYNCSTR_H_
|
||||
#define _MISYNCSTR_H_
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _MISYNCSTR_H_
|
||||
#define _MISYNCSTR_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "dix.h"
|
||||
#include "misync.h"
|
||||
|
|
Loading…
Reference in New Issue