summaryrefslogtreecommitdiff
path: root/Xi/getfocus.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/getfocus.c
parentcc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff)
ANSIfy Xi/. Mostly automated via protoize(1).
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);