ANSIfy Xi/. Mostly automated via protoize(1).
This commit is contained in:
25
Xi/getdctl.c
25
Xi/getdctl.c
@@ -78,9 +78,8 @@ SOFTWARE.
|
||||
*/
|
||||
|
||||
int
|
||||
SProcXGetDeviceControl(client)
|
||||
register ClientPtr client;
|
||||
{
|
||||
SProcXGetDeviceControl(register ClientPtr client)
|
||||
{
|
||||
register char n;
|
||||
|
||||
REQUEST(xGetDeviceControlReq);
|
||||
@@ -97,9 +96,8 @@ SProcXGetDeviceControl(client)
|
||||
*/
|
||||
|
||||
int
|
||||
ProcXGetDeviceControl(client)
|
||||
ClientPtr client;
|
||||
{
|
||||
ProcXGetDeviceControl(ClientPtr client)
|
||||
{
|
||||
int total_length = 0;
|
||||
char *buf, *savbuf;
|
||||
register DeviceIntPtr dev;
|
||||
@@ -172,12 +170,8 @@ ProcXGetDeviceControl(client)
|
||||
*/
|
||||
|
||||
void
|
||||
CopySwapDeviceResolution (client, v, buf, length)
|
||||
ClientPtr client;
|
||||
ValuatorClassPtr v;
|
||||
char *buf;
|
||||
int length;
|
||||
{
|
||||
CopySwapDeviceResolution (ClientPtr client, ValuatorClassPtr v, char *buf, int length)
|
||||
{
|
||||
register char n;
|
||||
AxisInfoPtr a;
|
||||
xDeviceResolutionState *r;
|
||||
@@ -216,11 +210,8 @@ CopySwapDeviceResolution (client, v, buf, length)
|
||||
*/
|
||||
|
||||
void
|
||||
SRepXGetDeviceControl (client, size, rep)
|
||||
ClientPtr client;
|
||||
int size;
|
||||
xGetDeviceControlReply *rep;
|
||||
{
|
||||
SRepXGetDeviceControl (ClientPtr client, int size, xGetDeviceControlReply *rep)
|
||||
{
|
||||
register char n;
|
||||
|
||||
swaps(&rep->sequenceNumber, n);
|
||||
|
||||
Reference in New Issue
Block a user