summaryrefslogtreecommitdiff
path: root/xts5/XIproto/GrabDeviceKey.m
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-06-30 11:52:26 +1000
committerAaron Plattner <aplattner@nvidia.com>2011-04-12 15:37:56 -0700
commitdbcf105a03d29ad6541dd851a257393af54f5dd1 (patch)
treea37e75db6468fcef2c392a416db0b96c0a0b67b6 /xts5/XIproto/GrabDeviceKey.m
parentd12f9c04388ce98953e8cfa75c40e7e3628ff573 (diff)
Remove superfluous (void) casts.
sed -e "s/\([ ]\)(void) \(.*\)/\1\2/" Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'xts5/XIproto/GrabDeviceKey.m')
-rw-r--r--xts5/XIproto/GrabDeviceKey.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/xts5/XIproto/GrabDeviceKey.m b/xts5/XIproto/GrabDeviceKey.m
index 3b948289..bf1fefe5 100644
--- a/xts5/XIproto/GrabDeviceKey.m
+++ b/xts5/XIproto/GrabDeviceKey.m
@@ -135,7 +135,7 @@ tester()
return;
}
- (void) Create_Default_Window(CLIENT);
+ Create_Default_Window(CLIENT);
Set_Test_Type(CLIENT, test_type);
req = (xGrabDeviceKeyReq *) Make_XInput_Req(CLIENT, X_GrabDeviceKey);
@@ -145,18 +145,18 @@ tester()
switch(test_type) {
case GOOD:
Log_Trace("client %d sent default GrabDeviceKey request\n", CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case BAD_LENGTH:
Log_Trace("client %d sent GrabDeviceKey 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 GrabDeviceKey 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",