(!1693) 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>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-09-13 14:41:39 +02:00
parent c88abea2fe
commit 7bbdd50103
2 changed files with 3 additions and 5 deletions

View File

@ -20,7 +20,6 @@
#include "extnsionst.h" #include "extnsionst.h"
#include "servermd.h" #include "servermd.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

View File

@ -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