summaryrefslogtreecommitdiff
path: root/Xi/closedev.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-02-20 21:50:49 +0000
committerAdam Jackson <ajax@nwnk.net>2006-02-20 21:50:49 +0000
commit5480c537cee79b324736eac3e438a4713dfa1036 (patch)
treef5534698be88e804e08ccda77b1df89c2d56d2ae /Xi/closedev.c
parentcc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff)
ANSIfy Xi/. Mostly automated via protoize(1).
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;