const cleanup

This commit is contained in:
Adam Jackson 2008-10-03 15:47:50 -04:00
parent fe616f9230
commit e6b1c1fada
4 changed files with 4 additions and 6 deletions

View File

@ -461,7 +461,7 @@ SetVendorString(char *string)
VendorString = string;
}
static int padlength[4] = {0, 3, 2, 1};
static const int padlength[4] = {0, 3, 2, 1};
#ifndef PANORAMIX
static

View File

@ -186,7 +186,7 @@ void QuartzInitInput(
#ifdef FAKE_RANDR
static int padlength[4] = {0, 3, 2, 1};
static const int padlength[4] = {0, 3, 2, 1};
static void
RREditConnectionInfo (ScreenPtr pScreen)

View File

@ -576,9 +576,7 @@ ResetCurrentRequest(ClientPtr client)
}
}
/* lookup table for adding padding bytes to data that is read from
or written to the X socket. */
static int padlength[4] = {0, 3, 2, 1};
static const int padlength[4] = {0, 3, 2, 1};
/********************
* FlushAllOutput()

View File

@ -22,7 +22,7 @@
#include "randrstr.h"
static int padlength[4] = {0, 3, 2, 1};
static const int padlength[4] = {0, 3, 2, 1};
static CARD16
RR10CurrentSizeID (ScreenPtr pScreen);