summaryrefslogtreecommitdiff
path: root/xts5/Xproto/pCopyColormapAndFree.m
diff options
context:
space:
mode:
Diffstat (limited to 'xts5/Xproto/pCopyColormapAndFree.m')
-rw-r--r--xts5/Xproto/pCopyColormapAndFree.m26
1 files changed, 13 insertions, 13 deletions
diff --git a/xts5/Xproto/pCopyColormapAndFree.m b/xts5/Xproto/pCopyColormapAndFree.m
index 0e1d72bd..e58a6fb4 100644
--- a/xts5/Xproto/pCopyColormapAndFree.m
+++ b/xts5/Xproto/pCopyColormapAndFree.m
@@ -140,8 +140,8 @@ tester()
{
Create_Client(CLIENT);
- (void) Create_Default_Window(CLIENT);
- (void) Create_Default_Colormap(CLIENT);
+ Create_Default_Window(CLIENT);
+ Create_Default_Colormap(CLIENT);
/* Allocate color cells if client hasn't got any */
@@ -159,14 +159,14 @@ tester()
}
Free_Req(req);
}
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
Set_Test_Type(CLIENT, test_type);
req = (xResourceReq *) Make_Req(CLIENT, X_CopyColormapAndFree);
if(test_type == BAD_IDCHOICE1) {
Send_Req(CLIENT, (xReq *) req);
Log_Trace("client %d sent CopyColormapAndFree request\n", CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
}
if(test_type == BAD_IDCHOICE2) {
req->id = 0xffffffff; /* top 2 bits set ==> invalid */
@@ -176,28 +176,28 @@ tester()
switch(test_type) {
case GOOD:
Log_Trace("client %d sent default CopyColormapAndFree request\n", CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case BAD_IDCHOICE1:
Log_Trace("client %d sent CopyColormapAndFree request with same resource ID\n", CLIENT);
- (void) Expect_BadIDChoice(CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_BadIDChoice(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case BAD_IDCHOICE2:
Log_Trace("client %d sent CopyColormapAndFree request with out-of-range resource ID\n", CLIENT);
- (void) Expect_BadIDChoice(CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_BadIDChoice(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case BAD_LENGTH:
Log_Trace("client %d sent CopyColormapAndFree 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 CopyColormapAndFree 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",