dix: 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
8ba1c586a2
commit
b9b3f83567
|
@ -23,17 +23,17 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
********************************************************/
|
********************************************************/
|
||||||
|
|
||||||
|
#ifndef DISPATCH_H
|
||||||
|
#define DISPATCH_H 1
|
||||||
|
|
||||||
|
#include <dix-config.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This prototypes the dispatch.c module (except for functions declared in
|
* This prototypes the dispatch.c module (except for functions declared in
|
||||||
* global headers), plus related dispatch procedures from devices.c, events.c,
|
* global headers), plus related dispatch procedures from devices.c, events.c,
|
||||||
* extension.c, property.c.
|
* extension.c, property.c.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dix-config.h>
|
|
||||||
|
|
||||||
#ifndef DISPATCH_H
|
|
||||||
#define DISPATCH_H 1
|
|
||||||
|
|
||||||
int ProcAllocColor(ClientPtr /* client */ );
|
int ProcAllocColor(ClientPtr /* client */ );
|
||||||
int ProcAllocColorCells(ClientPtr /* client */ );
|
int ProcAllocColorCells(ClientPtr /* client */ );
|
||||||
int ProcAllocColorPlanes(ClientPtr /* client */ );
|
int ProcAllocColorPlanes(ClientPtr /* client */ );
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dix-config.h>
|
|
||||||
|
|
||||||
#ifndef ENTERLEAVE_H
|
#ifndef ENTERLEAVE_H
|
||||||
#define ENTERLEAVE_H
|
#define ENTERLEAVE_H
|
||||||
|
|
||||||
|
#include <dix-config.h>
|
||||||
|
|
||||||
#include <dix.h> /* DoFocusEvents() */
|
#include <dix.h> /* DoFocusEvents() */
|
||||||
|
|
||||||
extern void DoEnterLeaveEvents(DeviceIntPtr pDev,
|
extern void DoEnterLeaveEvents(DeviceIntPtr pDev,
|
||||||
|
|
Loading…
Reference in New Issue