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:
Mike Gelfand
2025-06-23 22:37:26 +01:00
committed by Enrico Weigelt
parent 84a2fc014d
commit e47ef3c2bf
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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 {