dix: ANSI cleanups
This commit is contained in:
parent
ef9902652b
commit
54332e4732
|
@ -625,7 +625,7 @@ InitCoreDevices(void)
|
||||||
* @return Success or error code on failure.
|
* @return Success or error code on failure.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
InitAndStartDevices()
|
InitAndStartDevices(void)
|
||||||
{
|
{
|
||||||
DeviceIntPtr dev, next;
|
DeviceIntPtr dev, next;
|
||||||
|
|
||||||
|
@ -930,7 +930,7 @@ CloseDownDevices(void)
|
||||||
* resources are freed or any device is deleted.
|
* resources are freed or any device is deleted.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
UndisplayDevices()
|
UndisplayDevices(void)
|
||||||
{
|
{
|
||||||
DeviceIntPtr dev;
|
DeviceIntPtr dev;
|
||||||
ScreenPtr screen = screenInfo.screens[0];
|
ScreenPtr screen = screenInfo.screens[0];
|
||||||
|
@ -1621,10 +1621,8 @@ BadDeviceMap(BYTE *buff, int length, unsigned low, unsigned high, XID *errval)
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
AllModifierKeysAreUp(dev, map1, per1, map2, per2)
|
AllModifierKeysAreUp(DeviceIntPtr dev, CARD8 *map1, int per1,
|
||||||
DeviceIntPtr dev;
|
CARD8 *map2, int per2)
|
||||||
CARD8 *map1, *map2;
|
|
||||||
int per1, per2;
|
|
||||||
{
|
{
|
||||||
int i, j, k;
|
int i, j, k;
|
||||||
CARD8 *down = dev->key->down;
|
CARD8 *down = dev->key->down;
|
||||||
|
|
|
@ -3964,8 +3964,7 @@ ProcessPointerEvent (xEvent *xE, DeviceIntPtr mouse, int count)
|
||||||
* Traverses to siblings and parents of the window.
|
* Traverses to siblings and parents of the window.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
RecalculateDeliverableEvents(pWin)
|
RecalculateDeliverableEvents(WindowPtr pWin)
|
||||||
WindowPtr pWin;
|
|
||||||
{
|
{
|
||||||
OtherClients *others;
|
OtherClients *others;
|
||||||
WindowPtr pChild;
|
WindowPtr pChild;
|
||||||
|
@ -4478,8 +4477,7 @@ SetInputFocus(
|
||||||
* Sets the input focus for the virtual core keyboard.
|
* Sets the input focus for the virtual core keyboard.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
ProcSetInputFocus(client)
|
ProcSetInputFocus(ClientPtr client)
|
||||||
ClientPtr client;
|
|
||||||
{
|
{
|
||||||
DeviceIntPtr kbd = PickKeyboard(client);
|
DeviceIntPtr kbd = PickKeyboard(client);
|
||||||
REQUEST(xSetInputFocusReq);
|
REQUEST(xSetInputFocusReq);
|
||||||
|
|
|
@ -524,10 +524,7 @@ SListInstalledColormapsReply(ClientPtr pClient, int size,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SAllocColorReply(pClient, size, pRep)
|
SAllocColorReply(ClientPtr pClient, int size, xAllocColorReply *pRep)
|
||||||
ClientPtr pClient;
|
|
||||||
int size;
|
|
||||||
xAllocColorReply *pRep;
|
|
||||||
{
|
{
|
||||||
char n;
|
char n;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user