diff --git a/dix/dispatch.c b/dix/dispatch.c index becf3ce47..c3c0e8270 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -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 */ diff --git a/include/dix.h b/include/dix.h index 97c367b3b..b3c0705a6 100644 --- a/include/dix.h +++ b/include/dix.h @@ -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