summaryrefslogtreecommitdiff
path: root/Xi/closedev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/closedev.c')
-rw-r--r--Xi/closedev.c24
1 files changed, 8 insertions, 16 deletions
diff --git a/Xi/closedev.c b/Xi/closedev.c
index 8a57aeeee..dfd78005c 100644
--- a/Xi/closedev.c
+++ b/Xi/closedev.c
@@ -80,9 +80,8 @@ SOFTWARE.
*/
int
-SProcXCloseDevice(client)
- register ClientPtr client;
- {
+SProcXCloseDevice(register ClientPtr client)
+{
register char n;
REQUEST(xCloseDeviceReq);
@@ -98,9 +97,8 @@ SProcXCloseDevice(client)
*/
int
-ProcXCloseDevice(client)
- register ClientPtr client;
- {
+ProcXCloseDevice(register ClientPtr client)
+{
int i;
WindowPtr pWin, p1;
DeviceIntPtr d;
@@ -142,11 +140,8 @@ ProcXCloseDevice(client)
*/
void
-DeleteEventsFromChildren(dev, p1, client)
- DeviceIntPtr dev;
- WindowPtr p1;
- ClientPtr client;
- {
+DeleteEventsFromChildren(DeviceIntPtr dev, WindowPtr p1, ClientPtr client)
+{
WindowPtr p2;
while (p1)
@@ -166,11 +161,8 @@ DeleteEventsFromChildren(dev, p1, client)
*/
void
-DeleteDeviceEvents (dev, pWin, client)
- DeviceIntPtr dev;
- WindowPtr pWin;
- ClientPtr client;
- {
+DeleteDeviceEvents (DeviceIntPtr dev, WindowPtr pWin, ClientPtr client)
+{
InputClientsPtr others;
OtherInputMasks *pOthers;
GrabPtr grab, next;