dix: fix duplicate typedef of CallbackListPtr

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: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1427>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-21 11:01:14 +01:00 committed by Marge Bot
parent 415df761d5
commit 080fd7821b

View File

@ -7,8 +7,6 @@
#include "callback.h" #include "callback.h"
typedef struct _CallbackList *CallbackListPtr;
void InitCallbackManager(void); void InitCallbackManager(void);
void DeleteCallbackManager(void); void DeleteCallbackManager(void);