include: 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
12b327c0da
commit
2906a9406a
|
@ -1,10 +1,10 @@
|
|||
#ifndef _DISMODEPROC_H_
|
||||
#define _DISMODEPROC_H_
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _DISMODEPROC_H_
|
||||
#define _DISMODEPROC_H_
|
||||
|
||||
#include "scrnintstr.h"
|
||||
|
||||
#define MAXCLOCKS 128
|
||||
|
|
|
@ -22,13 +22,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef INPUTUTILS_H
|
||||
#define INPUTUTILS_H
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include "dix-config.h"
|
||||
#endif
|
||||
|
||||
#ifndef INPUTUTILS_H
|
||||
#define INPUTUTILS_H
|
||||
|
||||
#include "input.h"
|
||||
#include "eventstr.h"
|
||||
#include <X11/extensions/XI2proto.h>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#ifndef _VIDMODEPROC_H_
|
||||
#define _VIDMODEPROC_H_
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _VIDMODEPROC_H_
|
||||
#define _VIDMODEPROC_H_
|
||||
|
||||
#include "displaymode.h"
|
||||
|
||||
typedef enum {
|
||||
|
|
Loading…
Reference in New Issue