From b0c8e4ef7e13376bf7917d6ebb0787fb10c621e8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 13 Apr 2025 12:48:25 -0700 Subject: [PATCH] render: miindex.c does not need header guard macros Clears warning from clang 19.1.7: render/miindex.c:27:9: warning: macro is not used [-Wunused-macros] 27 | #define _MIINDEX_H_ | ^ Signed-off-by: Alan Coopersmith Part-of: (cherry picked from commit 37b7ea8f8aaef3efa9d56fb9bc82adeccba02633) --- render/miindex.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/render/miindex.c b/render/miindex.c index 4119eef66..ca93792c2 100644 --- a/render/miindex.c +++ b/render/miindex.c @@ -25,9 +25,6 @@ #include #endif -#ifndef _MIINDEX_H_ -#define _MIINDEX_H_ - #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" @@ -328,5 +325,3 @@ miUpdateIndexed(ScreenPtr pScreen, } } } - -#endif /* _MIINDEX_H_ */