summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-03-21 11:06:50 +0100
committerMarge Bot <emma+marge@anholt.net>2024-04-18 00:51:06 +0000
commita532c932063c4e3d14015035b66ecf5795ad8f1b (patch)
treedf765c59a89e8e068773e139c136fd7525992ed1
parent0f715b4ca49b8c0814e540574cc97f31c3b7ec34 (diff)
composite: fix duplicate typedef of ScreenPtr
fix warning on duplicate typedef: > ../composite/compositeext_priv.h:11:25: warning: redefinition of typedef 'ScreenPtr' is a C11 feature [-Wtypedef-redefinition] > typedef struct _Screen *ScreenPtr; > ^ > ../include/screenint.h:55:25: note: previous definition is here > typedef struct _Screen *ScreenPtr; > ^ Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1430>
-rw-r--r--composite/compositeext_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/composite/compositeext_priv.h b/composite/compositeext_priv.h
index 92105ec74..c969269ba 100644
--- a/composite/compositeext_priv.h
+++ b/composite/compositeext_priv.h
@@ -8,7 +8,7 @@
#include <X11/X.h>
-typedef struct _Screen *ScreenPtr;
+#include "screenint.h"
Bool CompositeIsImplicitRedirectException(ScreenPtr pScreen,
XID parentVisual,