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>
This commit is contained in:
parent
0f715b4ca4
commit
a532c93206
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
|
|
||||||
typedef struct _Screen *ScreenPtr;
|
#include "screenint.h"
|
||||||
|
|
||||||
Bool CompositeIsImplicitRedirectException(ScreenPtr pScreen,
|
Bool CompositeIsImplicitRedirectException(ScreenPtr pScreen,
|
||||||
XID parentVisual,
|
XID parentVisual,
|
||||||
|
|
Loading…
Reference in New Issue