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:
Enrico Weigelt, metux IT consult 2024-03-21 11:06:50 +01:00 committed by Marge Bot
parent 0f715b4ca4
commit a532c93206

View File

@ -8,7 +8,7 @@
#include <X11/X.h>
typedef struct _Screen *ScreenPtr;
#include "screenint.h"
Bool CompositeIsImplicitRedirectException(ScreenPtr pScreen,
XID parentVisual,