@@ -63,7 +63,7 @@ struct client_state {
63
63
64
64
unsigned char small_buffer [512 ];
65
65
66
- void tm_at_cb (struct iscsi_context * iscsi _U_ , int status _U_ , void * command_data _U_ , void * private_data )
66
+ void tm_at_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
67
67
{
68
68
struct client_state * clnt = (struct client_state * )private_data ;
69
69
@@ -74,7 +74,7 @@ void tm_at_cb(struct iscsi_context *iscsi _U_, int status _U_, void *command_dat
74
74
}
75
75
76
76
77
- void synccache10_cb (struct iscsi_context * iscsi _U_ , int status , void * command_data _U_ , void * private_data _U_ )
77
+ void synccache10_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
78
78
{
79
79
printf ("SYNCCACHE10 status:%d\n" , status );
80
80
}
@@ -103,7 +103,7 @@ void nop_out_cb(struct iscsi_context *iscsi, int status, void *command_data, voi
103
103
}
104
104
105
105
106
- void write10_1_cb (struct iscsi_context * iscsi _U_ , int status , void * command_data , void * private_data _U_ )
106
+ void write10_1_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
107
107
{
108
108
struct scsi_task * task = command_data ;
109
109
@@ -123,7 +123,7 @@ void write10_1_cb(struct iscsi_context *iscsi _U_, int status, void *command_dat
123
123
exit (10 );
124
124
}
125
125
126
- void write10_cb (struct iscsi_context * iscsi _U_ , int status , void * command_data , void * private_data _U_ )
126
+ void write10_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
127
127
{
128
128
struct client_state * clnt = (struct client_state * )private_data ;
129
129
struct scsi_task * task = command_data ;
@@ -482,7 +482,7 @@ void reportluns_cb(struct iscsi_context *iscsi, int status, void *command_data,
482
482
}
483
483
484
484
485
- void normallogin_cb (struct iscsi_context * iscsi , int status , void * command_data _U_ , void * private_data )
485
+ void normallogin_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
486
486
{
487
487
if (status != 0 ) {
488
488
printf ("Failed to log in to target : %s\n" , iscsi_get_error (iscsi ));
@@ -497,7 +497,7 @@ void normallogin_cb(struct iscsi_context *iscsi, int status, void *command_data
497
497
}
498
498
499
499
500
- void normalconnect_cb (struct iscsi_context * iscsi , int status , void * command_data _U_ , void * private_data )
500
+ void normalconnect_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
501
501
{
502
502
printf ("Connected to iscsi socket\n" );
503
503
@@ -517,7 +517,7 @@ void normalconnect_cb(struct iscsi_context *iscsi, int status, void *command_dat
517
517
518
518
519
519
520
- void discoverylogout_cb (struct iscsi_context * iscsi , int status , void * command_data _U_ , void * private_data )
520
+ void discoverylogout_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
521
521
{
522
522
struct client_state * clnt = (struct client_state * )private_data ;
523
523
@@ -586,7 +586,7 @@ void discovery_cb(struct iscsi_context *iscsi, int status, void *command_data, v
586
586
}
587
587
588
588
589
- void discoverylogin_cb (struct iscsi_context * iscsi , int status , void * command_data _U_ , void * private_data )
589
+ void discoverylogin_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
590
590
{
591
591
if (status != 0 ) {
592
592
printf ("Failed to log in to target. : %s\n" , iscsi_get_error (iscsi ));
@@ -601,7 +601,7 @@ void discoverylogin_cb(struct iscsi_context *iscsi, int status, void *command_da
601
601
602
602
}
603
603
604
- void discoveryconnect_cb (struct iscsi_context * iscsi , int status , void * command_data _U_ , void * private_data )
604
+ void discoveryconnect_cb (struct iscsi_context * iscsi , int status , void * command_data , void * private_data )
605
605
{
606
606
printf ("Connected to iscsi socket status:0x%08x\n" , status );
607
607
@@ -619,7 +619,7 @@ void discoveryconnect_cb(struct iscsi_context *iscsi, int status, void *command_
619
619
}
620
620
621
621
622
- int main (int argc _U_ , char * argv [] _U_ )
622
+ int main (int argc , char * argv [])
623
623
{
624
624
struct iscsi_context * iscsi ;
625
625
struct pollfd pfd ;
0 commit comments