aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi/getprop.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-02-15 15:14:14 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-26 00:58:46 +0100
commit7aca428ffe10b2cffca8fe01962aef421a5a5645 (patch)
tree959c5d4ada874c816f49888825edeeba3f005b24 /nx-X11/programs/Xserver/Xi/getprop.c
parent41a0ba729fb67efdc5f7bd50f73f145cf5d8a153 (diff)
downloadnx-libs-7aca428ffe10b2cffca8fe01962aef421a5a5645.tar.gz
nx-libs-7aca428ffe10b2cffca8fe01962aef421a5a5645.tar.bz2
nx-libs-7aca428ffe10b2cffca8fe01962aef421a5a5645.zip
Xi: ansify function prototypes
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/getprop.c')
-rw-r--r--nx-X11/programs/Xserver/Xi/getprop.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/nx-X11/programs/Xserver/Xi/getprop.c b/nx-X11/programs/Xserver/Xi/getprop.c
index e8bd19854..c8b148972 100644
--- a/nx-X11/programs/Xserver/Xi/getprop.c
+++ b/nx-X11/programs/Xserver/Xi/getprop.c
@@ -78,8 +78,7 @@ extern int ExtEventIndex;
*/
int
-SProcXGetDeviceDontPropagateList(client)
- register ClientPtr client;
+SProcXGetDeviceDontPropagateList(register ClientPtr client)
{
REQUEST(xGetDeviceDontPropagateListReq);
swaps(&stuff->length);
@@ -95,8 +94,7 @@ SProcXGetDeviceDontPropagateList(client)
*/
int
-ProcXGetDeviceDontPropagateList (client)
- register ClientPtr client;
+ProcXGetDeviceDontPropagateList(register ClientPtr client)
{
CARD16 count = 0;
int i;
@@ -161,12 +159,8 @@ ProcXGetDeviceDontPropagateList (client)
*/
XEventClass
-*ClassFromMask (buf, mask, maskndx, count, mode)
- XEventClass *buf;
- Mask mask;
- int maskndx;
- CARD16 *count;
- int mode;
+ * ClassFromMask(XEventClass * buf, Mask mask, int maskndx, CARD16 * count,
+ int mode)
{
int i, j;
int id = maskndx;
@@ -195,10 +189,8 @@ XEventClass
*/
void
-SRepXGetDeviceDontPropagateList (client, size, rep)
- ClientPtr client;
- int size;
- xGetDeviceDontPropagateListReply *rep;
+SRepXGetDeviceDontPropagateList(ClientPtr client, int size,
+ xGetDeviceDontPropagateListReply * rep)
{
swaps(&rep->sequenceNumber);
swapl(&rep->length);