xv: unexport internal variables and make them static
These variables are only used by xvmain.c (no drivers using them), so make them static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1512>
This commit is contained in:
parent
354f42b25c
commit
9bb6d8b169
10
Xext/xvdix.h
10
Xext/xvdix.h
|
@ -55,20 +55,10 @@ SOFTWARE.
|
|||
#include "scrnintstr.h"
|
||||
#include <X11/extensions/Xvproto.h>
|
||||
|
||||
extern _X_EXPORT unsigned long XvExtensionGeneration;
|
||||
extern _X_EXPORT unsigned long XvScreenGeneration;
|
||||
extern _X_EXPORT unsigned long XvResourceGeneration;
|
||||
|
||||
extern _X_EXPORT int XvReqCode;
|
||||
extern _X_EXPORT int XvEventBase;
|
||||
extern _X_EXPORT int XvErrorBase;
|
||||
|
||||
extern _X_EXPORT RESTYPE XvRTPort;
|
||||
extern _X_EXPORT RESTYPE XvRTEncoding;
|
||||
extern _X_EXPORT RESTYPE XvRTGrab;
|
||||
extern _X_EXPORT RESTYPE XvRTVideoNotify;
|
||||
extern _X_EXPORT RESTYPE XvRTVideoNotifyList;
|
||||
extern _X_EXPORT RESTYPE XvRTPortNotify;
|
||||
|
||||
typedef struct {
|
||||
int numerator;
|
||||
|
|
|
@ -122,20 +122,20 @@ static DevPrivateKeyRec XvScreenKeyRec;
|
|||
Bool noXvExtension = FALSE;
|
||||
|
||||
#define XvScreenKey (&XvScreenKeyRec)
|
||||
unsigned long XvExtensionGeneration = 0;
|
||||
unsigned long XvScreenGeneration = 0;
|
||||
unsigned long XvResourceGeneration = 0;
|
||||
static unsigned long XvExtensionGeneration = 0;
|
||||
static unsigned long XvScreenGeneration = 0;
|
||||
static unsigned long XvResourceGeneration = 0;
|
||||
|
||||
int XvReqCode;
|
||||
int XvEventBase;
|
||||
static int XvEventBase;
|
||||
int XvErrorBase;
|
||||
|
||||
RESTYPE XvRTPort;
|
||||
RESTYPE XvRTEncoding;
|
||||
RESTYPE XvRTGrab;
|
||||
RESTYPE XvRTVideoNotify;
|
||||
RESTYPE XvRTVideoNotifyList;
|
||||
RESTYPE XvRTPortNotify;
|
||||
static RESTYPE XvRTEncoding;
|
||||
static RESTYPE XvRTGrab;
|
||||
static RESTYPE XvRTVideoNotify;
|
||||
static RESTYPE XvRTVideoNotifyList;
|
||||
static RESTYPE XvRTPortNotify;
|
||||
|
||||
/* EXTERNAL */
|
||||
|
||||
|
|
Loading…
Reference in New Issue