dix: Remove now-unused SetVendorString

This commit is contained in:
Adam Jackson 2019-10-16 13:49:13 -04:00 committed by Adam Jackson
parent fc671085ee
commit ec659f021e
2 changed files with 1 additions and 10 deletions

View File

@ -536,7 +536,6 @@ Dispatch(void)
} }
static int VendorRelease = VENDOR_RELEASE; static int VendorRelease = VENDOR_RELEASE;
static const char *VendorString = VENDOR_NAME;
void void
SetVendorRelease(int release) SetVendorRelease(int release)
@ -544,12 +543,6 @@ SetVendorRelease(int release)
VendorRelease = release; VendorRelease = release;
} }
void
SetVendorString(const char *vendor)
{
VendorString = vendor;
}
Bool Bool
CreateConnectionBlock(void) CreateConnectionBlock(void)
{ {
@ -561,6 +554,7 @@ CreateConnectionBlock(void)
unsigned long vid; unsigned long vid;
int i, j, k, lenofblock, sizesofar = 0; int i, j, k, lenofblock, sizesofar = 0;
char *pBuf; char *pBuf;
const char VendorString[] = VENDOR_NAME;
memset(&setup, 0, sizeof(xConnSetup)); memset(&setup, 0, sizeof(xConnSetup));
/* Leave off the ridBase and ridMask, these must be sent with /* Leave off the ridBase and ridMask, these must be sent with

View File

@ -304,9 +304,6 @@ InitAtoms(void);
extern _X_EXPORT void extern _X_EXPORT void
SetVendorRelease(int release); SetVendorRelease(int release);
extern _X_EXPORT void
SetVendorString(const char *string);
int int
dix_main(int argc, char *argv[], char *envp[]); dix_main(int argc, char *argv[], char *envp[]);