diff --git a/dix/dispatch.c b/dix/dispatch.c index b3e5feacc..39618cbc8 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -597,14 +597,6 @@ Dispatch(void) ResetOsBuffers(); } -static int VendorRelease = VENDOR_RELEASE; - -void -SetVendorRelease(int release) -{ - VendorRelease = release; -} - Bool CreateConnectionBlock(void) { @@ -622,7 +614,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 3796942e0..7cd97ab95 100644 --- a/include/dix.h +++ b/include/dix.h @@ -263,11 +263,6 @@ FreeAllAtoms(void); extern _X_EXPORT void InitAtoms(void); -/* main.c */ - -extern _X_EXPORT void -SetVendorRelease(int release); - /* events.c */ extern _X_EXPORT void