File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,17 +129,15 @@ int main(int argc, char** argv)
129129 struct stat st ;
130130 union usb_ack ack ;
131131 struct termios tty ;
132- {
133- struct sigaction sa ;
134- sigset_t mask ;
135- memset (& sa , 0 , sizeof (sa ));
136- sa .sa_handler = alarm_handler ;
137- sigemptyset (& sa .sa_mask );
138- (void )sigaction (SIGALRM , & sa , NULL );
139- sigemptyset (& mask );
140- sigaddset (& mask , SIGALRM );
141- (void )sigprocmask (SIG_UNBLOCK , & mask , NULL );
142- }
132+ struct sigaction sa ;
133+ sigset_t mask ;
134+ memset (& sa , 0 , sizeof (sa ));
135+ sa .sa_handler = alarm_handler ;
136+ sigemptyset (& sa .sa_mask );
137+ (void )sigaction (SIGALRM , & sa , NULL );
138+ sigemptyset (& mask );
139+ sigaddset (& mask , SIGALRM );
140+ (void )sigprocmask (SIG_UNBLOCK , & mask , NULL );
143141
144142 if (argc != 2 ) {
145143 printf ("Usage: %s firmware_filename\n" , argv [0 ]);
You can’t perform that action at this time.
0 commit comments