xvmc: move over protocol version defines into xvmc.c
These are exclusively used in one source file, so no need to keep them in a global header. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1693>
This commit is contained in:
parent
171db3b01b
commit
a33639f975
|
@ -20,7 +20,6 @@
|
||||||
#include <X11/extensions/Xvproto.h>
|
#include <X11/extensions/Xvproto.h>
|
||||||
#include <X11/extensions/XvMCproto.h>
|
#include <X11/extensions/XvMCproto.h>
|
||||||
#include "xvmcext.h"
|
#include "xvmcext.h"
|
||||||
#include "protocol-versions.h"
|
|
||||||
|
|
||||||
#ifdef HAS_XVMCSHM
|
#ifdef HAS_XVMCSHM
|
||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
|
@ -28,6 +27,9 @@
|
||||||
#include <sys/shm.h>
|
#include <sys/shm.h>
|
||||||
#endif /* HAS_XVMCSHM */
|
#endif /* HAS_XVMCSHM */
|
||||||
|
|
||||||
|
#define SERVER_XVMC_MAJOR_VERSION 1
|
||||||
|
#define SERVER_XVMC_MINOR_VERSION 1
|
||||||
|
|
||||||
#define DR_CLIENT_DRIVER_NAME_SIZE 48
|
#define DR_CLIENT_DRIVER_NAME_SIZE 48
|
||||||
#define DR_BUSID_SIZE 48
|
#define DR_BUSID_SIZE 48
|
||||||
|
|
||||||
|
|
|
@ -157,8 +157,4 @@
|
||||||
#define SERVER_XRES_MAJOR_VERSION 1
|
#define SERVER_XRES_MAJOR_VERSION 1
|
||||||
#define SERVER_XRES_MINOR_VERSION 2
|
#define SERVER_XRES_MINOR_VERSION 2
|
||||||
|
|
||||||
/* XvMC */
|
|
||||||
#define SERVER_XVMC_MAJOR_VERSION 1
|
|
||||||
#define SERVER_XVMC_MINOR_VERSION 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue