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