DIX: fix several duplicate typedefs
- Sep 01, 2024
-
-
fix warning on duplicated typedef: > In file included from ../dix/main.c:86: > ../dix/callback_priv.h:10:31: warning: redefinition of typedef 'CallbackListPtr' is a C11 feature [-Wtypedef-redefinition] > typedef struct _CallbackList *CallbackListPtr; > ^ > ../include/callback.h:60:31: note: previous definition is here > typedef struct _CallbackList *CallbackListPtr; /* also in misc.h */ > ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1427>
-
fix warning on duplicate typedef: > In file included from ../hw/xfree86/common/xf86Xinput.c:59: > ../dix/ptrveloc_priv.h:33:3: warning: redefinition of typedef 'MotionTracker' is a C11 feature [-Wtypedef-redefinition] > } MotionTracker, *MotionTrackerPtr; > ^ > ../include/ptrveloc.h:54:31: note: previous definition is here > typedef struct _MotionTracker MotionTracker, *MotionTrackerPtr; > ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1427>
-
fix warning: > ../dix/ptrveloc_priv.h:20:18: warning: redefinition of typedef 'PointerAccelerationProfileFunc' is a C11 feature [-Wtypedef-redefinition] > typedef double (*PointerAccelerationProfileFunc) > ^ > ../include/ptrveloc.h:50:18: note: previous definition is here > typedef double (*PointerAccelerationProfileFunc) > ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1427>
-
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: <!1427>
-