dix: drop unused SetVendorRelease()

Not used anywhere, so no need to keep it around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-22 17:16:23 +02:00
parent 06dbab958c
commit 38e8cc47f5
2 changed files with 1 additions and 14 deletions

View File

@ -590,14 +590,6 @@ Dispatch(void)
ResetOsBuffers();
}
static int VendorRelease = VENDOR_RELEASE;
void
SetVendorRelease(int release)
{
VendorRelease = release;
}
Bool
CreateConnectionBlock(void)
{
@ -615,7 +607,7 @@ CreateConnectionBlock(void)
/* Leave off the ridBase and ridMask, these must be sent with
connection */
setup.release = VendorRelease;
setup.release = VENDOR_RELEASE;
/*
* per-server image and bitmap parameters are defined in Xmd.h
*/

View File

@ -202,11 +202,6 @@ extern _X_EXPORT Bool ValidAtom(Atom /*atom */ );
extern _X_EXPORT const char *NameForAtom(Atom /*atom */ );
/* main.c */
extern _X_EXPORT void
SetVendorRelease(int release);
/* events.c */
extern _X_EXPORT void