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

View File

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