From 683573df26fe54ab18cd5f715b2afa83dc9554ed 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 ed6e99abf..fd83c40f1 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"