From 354f42b25c3ec5d409f78d8c7a682eef9237d7be Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 30 Apr 2024 18:37:59 +0200 Subject: [PATCH] xv: move XvVideoNotifyRec into xvmain.c This struct is only used in xvmain.c, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- Xext/xvdix.h | 7 ------- Xext/xvmain.c | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Xext/xvdix.h b/Xext/xvdix.h index ee09b3dde..136df87bb 100644 --- a/Xext/xvdix.h +++ b/Xext/xvdix.h @@ -85,13 +85,6 @@ typedef struct { ClientPtr client; } XvGrabRec, *XvGrabPtr; -typedef struct _XvVideoNotifyRec { - struct _XvVideoNotifyRec *next; - ClientPtr client; - unsigned long id; - unsigned long mask; -} XvVideoNotifyRec, *XvVideoNotifyPtr; - typedef struct _XvPortNotifyRec { struct _XvPortNotifyRec *next; ClientPtr client; diff --git a/Xext/xvmain.c b/Xext/xvmain.c index 22baec49f..13c716329 100644 --- a/Xext/xvmain.c +++ b/Xext/xvmain.c @@ -110,6 +110,13 @@ SOFTWARE. #define SCREEN_EPILOGUE(pScreen, field, wrapper)\ ((pScreen)->field = wrapper) +typedef struct _XvVideoNotifyRec { + struct _XvVideoNotifyRec *next; + ClientPtr client; + unsigned long id; + unsigned long mask; +} XvVideoNotifyRec, *XvVideoNotifyPtr; + static DevPrivateKeyRec XvScreenKeyRec; Bool noXvExtension = FALSE;