From ebb3660f640bdce00d7231585e92f857a80b4c31 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 4 Aug 2025 19:23:49 +0200 Subject: [PATCH] Xext: xv: fix redefinition of typedef 'XvPortNotifyPtr' In file included from ../Xext/xvmc.c:14: ../Xext/xvdix_priv.h:31:21: warning: redefinition of typedef 'XvPortNotifyPtr' is a C11 feature [-Wtypedef-redefinition] 31 | } XvPortNotifyRec, *XvPortNotifyPtr; | ^ ../Xext/xvdix.h:73:34: note: previous definition is here 73 | typedef struct _XvPortNotifyRec *XvPortNotifyPtr; | ^ 1 warning generated. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xvdix_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xext/xvdix_priv.h b/Xext/xvdix_priv.h index a64a5625ac..269dad6e2d 100644 --- a/Xext/xvdix_priv.h +++ b/Xext/xvdix_priv.h @@ -28,7 +28,7 @@ typedef struct _XvPortNotifyRec { struct _XvPortNotifyRec *next; ClientPtr client; unsigned long id; -} XvPortNotifyRec, *XvPortNotifyPtr; +} XvPortNotifyRec; extern int XvReqCode; extern int XvErrorBase;