dix: fix duplicate typedef of *ScreenPtr
fix warning: > In file included from ../hw/xfree86/common/xf86Init.c:53: > In file included from ../include/input.h:51: > ../include/screenint.h:55:25: warning: redefinition of typedef 'ScreenPtr' is a C11 feature [-Wtypedef-redefinition] > typedef struct _Screen *ScreenPtr; > ^ > ../dix/screenint_priv.h:11: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/1427>
This commit is contained in:
parent
03eb593460
commit
8a3cce0101
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
typedef struct _Screen *ScreenPtr;
|
||||
#include "screenint.h"
|
||||
|
||||
typedef Bool (*ScreenInitProcPtr)(ScreenPtr pScreen, int argc, char **argv);
|
||||
|
||||
|
|
Loading…
Reference in New Issue