summaryrefslogtreecommitdiff
path: root/Xi/getfocus.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/getfocus.c')
-rw-r--r--Xi/getfocus.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/getfocus.c b/Xi/getfocus.c
index 3c1597cc9..9cac93b0e 100644
--- a/Xi/getfocus.c
+++ b/Xi/getfocus.c
@@ -78,9 +78,8 @@ SOFTWARE.
*/
int
-SProcXGetDeviceFocus(client)
- register ClientPtr client;
- {
+SProcXGetDeviceFocus(register ClientPtr client)
+{
register char n;
REQUEST(xGetDeviceFocusReq);
@@ -95,9 +94,8 @@ SProcXGetDeviceFocus(client)
*/
int
-ProcXGetDeviceFocus(client)
- ClientPtr client;
- {
+ProcXGetDeviceFocus(ClientPtr client)
+{
DeviceIntPtr dev;
FocusClassPtr focus;
xGetDeviceFocusReply rep;
@@ -142,11 +140,8 @@ ProcXGetDeviceFocus(client)
*/
void
-SRepXGetDeviceFocus (client, size, rep)
- ClientPtr client;
- int size;
- xGetDeviceFocusReply *rep;
- {
+SRepXGetDeviceFocus (ClientPtr client, int size, xGetDeviceFocusReply *rep)
+{
register char n;
swaps(&rep->sequenceNumber, n);