summaryrefslogtreecommitdiff
path: root/xts5/XIproto/SetDeviceFocus.m
diff options
context:
space:
mode:
Diffstat (limited to 'xts5/XIproto/SetDeviceFocus.m')
-rw-r--r--xts5/XIproto/SetDeviceFocus.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/xts5/XIproto/SetDeviceFocus.m b/xts5/XIproto/SetDeviceFocus.m
index 6baabb56..b748afd0 100644
--- a/xts5/XIproto/SetDeviceFocus.m
+++ b/xts5/XIproto/SetDeviceFocus.m
@@ -149,7 +149,7 @@ tester()
Log_Trace("client %d received GetDeviceFocus reply\n", CLIENT);
/* do any reply checking here */
}
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
Set_Test_Type(CLIENT, test_type);
req = (xSetDeviceFocusReq *) Make_XInput_Req(CLIENT, X_SetDeviceFocus);
@@ -160,18 +160,18 @@ tester()
switch(test_type) {
case GOOD:
Log_Trace("client %d sent default SetDeviceFocus request\n", CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case BAD_LENGTH:
Log_Trace("client %d sent SetDeviceFocus request with bad length (%d)\n", CLIENT, req->length);
- (void) Expect_BadLength(CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_BadLength(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case TOO_LONG:
case JUST_TOO_LONG:
Log_Trace("client %d sent overlong SetDeviceFocus request (%d)\n", CLIENT, req->length);
- (void) Expect_BadLength(CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_BadLength(CLIENT);
+ Expect_Nothing(CLIENT);
break;
default:
Log_Err("INTERNAL ERROR: test_type %d not one of GOOD(%d), BAD_LENGTH(%d), TOO_LONG(%d) or JUST_TOO_LONG(%d)\n",