From e2fd67a58d45531c57cb0c517404cd73b424e422 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Mon, 23 Jun 2025 22:23:40 +0100 Subject: [PATCH] glamor: move include guards up to wrap the whole file See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Signed-off-by: Mike Gelfand --- glamor/glamor_utils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h index a64f4dea7..56ac69820 100644 --- a/glamor/glamor_utils.h +++ b/glamor/glamor_utils.h @@ -25,13 +25,13 @@ * */ +#ifndef __GLAMOR_UTILS_H__ +#define __GLAMOR_UTILS_H__ + #ifndef GLAMOR_PRIV_H #error This file can only be included by glamor_priv.h #endif -#ifndef __GLAMOR_UTILS_H__ -#define __GLAMOR_UTILS_H__ - #include "os/bug_priv.h" #include "glamor_prepare.h"