xext: 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
4f7000f620
commit
c0757a471f
|
@ -1,10 +1,10 @@
|
|||
/* Prototypes for functions that the DDX must provide */
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#ifndef _DPMSPROC_H_
|
||||
#define _DPMSPROC_H_
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#include "dixstruct.h"
|
||||
|
||||
extern int DPMSSet(ClientPtr client, int level);
|
||||
|
|
|
@ -28,21 +28,21 @@ Equipment Corporation.
|
|||
|
||||
/* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */
|
||||
|
||||
/*
|
||||
* PanoramiX definitions
|
||||
*/
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#ifndef _PANORAMIX_H_
|
||||
#define _PANORAMIX_H_
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#include <X11/Xmd.h>
|
||||
#include <X11/extensions/panoramiXproto.h>
|
||||
|
||||
#include "gcstruct.h"
|
||||
#include "dixstruct.h"
|
||||
|
||||
/*
|
||||
* PanoramiX definitions
|
||||
*/
|
||||
|
||||
typedef struct _PanoramiXInfo {
|
||||
XID id;
|
||||
} PanoramiXInfo;
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
#include <dix-config.h>
|
||||
|
||||
#ifndef _PANORAMIXSRV_H_
|
||||
#define _PANORAMIXSRV_H_
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#include "panoramiX.h"
|
||||
|
||||
extern int PanoramiXNumScreens;
|
||||
|
|
|
@ -24,11 +24,11 @@
|
|||
* XFree86 Project.
|
||||
*/
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#ifndef _SLEEPUNTIL_H_
|
||||
#define _SLEEPUNTIL_H_ 1
|
||||
|
||||
#include <dix-config.h>
|
||||
|
||||
#include "dix.h"
|
||||
|
||||
extern int ClientSleepUntil(ClientPtr client,
|
||||
|
|
Loading…
Reference in New Issue