From 8f0d3c6d1f64fdc3b20d0beb831fa457214d5188 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 18 Jul 2006 11:28:58 -0400 Subject: fix indentation on function declarations Another brief run with indent. --- src/XGMotion.c | 7 +++---- src/XGetFCtl.c | 12 +++++------- src/XGetMMap.c | 9 ++++----- src/XGetProp.c | 13 ++++++------- src/XListDev.c | 9 ++++----- src/XOpenDev.c | 9 ++++----- src/XQueryDv.c | 9 ++++----- 7 files changed, 30 insertions(+), 38 deletions(-) diff --git a/src/XGMotion.c b/src/XGMotion.c index 077bd88..abcc06a 100644 --- a/src/XGMotion.c +++ b/src/XGMotion.c @@ -66,10 +66,9 @@ XDeviceTimeCoord dpy; XDevice * dev; - Time - start; - Time - stop; + +Time start; +Time stop; int * nEvents; int * diff --git a/src/XGetFCtl.c b/src/XGetFCtl.c index 1e90633..0101fc0 100644 --- a/src/XGetFCtl.c +++ b/src/XGetFCtl.c @@ -61,13 +61,11 @@ SOFTWARE. #include #include "XIint.h" -XFeedbackState * XGetFeedbackControl(dpy, dev, num_feedbacks) - register Display * - dpy; - XDevice * - dev; - int * - num_feedbacks; +XFeedbackState * +XGetFeedbackControl(dpy, dev, num_feedbacks) + register Display *dpy; + XDevice *dev; + int *num_feedbacks; { int size = 0; int nbytes, i; diff --git a/src/XGetMMap.c b/src/XGetMMap.c index b952a2f..4a8c32f 100644 --- a/src/XGetMMap.c +++ b/src/XGetMMap.c @@ -60,11 +60,10 @@ SOFTWARE. #include #include "XIint.h" -XModifierKeymap * XGetDeviceModifierMapping(dpy, dev) - register Display * - dpy; - XDevice * - dev; +XModifierKeymap * +XGetDeviceModifierMapping(dpy, dev) + register Display *dpy; + XDevice *dev; { unsigned long nbytes; XModifierKeymap *res; diff --git a/src/XGetProp.c b/src/XGetProp.c index 59b8b87..0ea8ceb 100644 --- a/src/XGetProp.c +++ b/src/XGetProp.c @@ -61,13 +61,12 @@ SOFTWARE. #include #include "XIint.h" -XEventClass * XGetDeviceDontPropagateList(dpy, window, count) - register Display * - dpy; - Window - window; - int * - count; +XEventClass * +XGetDeviceDontPropagateList(dpy, window, count) + register Display *dpy; + +Window window; + int *count; { XEventClass *list = NULL; int rlen; diff --git a/src/XListDev.c b/src/XListDev.c index e834e6a..ea9aa62 100644 --- a/src/XListDev.c +++ b/src/XListDev.c @@ -63,11 +63,10 @@ SOFTWARE. #include #include "XIint.h" -XDeviceInfo * XListInputDevices(dpy, ndevices) - register Display * - dpy; - int * - ndevices; +XDeviceInfo * +XListInputDevices(dpy, ndevices) + register Display *dpy; + int *ndevices; { int size; xListInputDevicesReq *req; diff --git a/src/XOpenDev.c b/src/XOpenDev.c index c98204d..ed168a6 100644 --- a/src/XOpenDev.c +++ b/src/XOpenDev.c @@ -60,11 +60,10 @@ SOFTWARE. #include #include "XIint.h" -XDevice * XOpenDevice(dpy, id) - register Display * - dpy; - register XID - id; +XDevice * +XOpenDevice(dpy, id) + register Display *dpy; + register XID id; { register long rlen; /* raw length */ xOpenDeviceReq *req; diff --git a/src/XQueryDv.c b/src/XQueryDv.c index 94d0f9a..a3a75f2 100644 --- a/src/XQueryDv.c +++ b/src/XQueryDv.c @@ -60,11 +60,10 @@ SOFTWARE. #include #include "XIint.h" -XDeviceState * XQueryDeviceState(dpy, dev) - register Display * - dpy; - XDevice * - dev; +XDeviceState * +XQueryDeviceState(dpy, dev) + register Display *dpy; + XDevice *dev; { int i, j; int rlen; -- cgit v1.2.3