File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 42
42
#include "beacon.h"
43
43
44
44
void print_usage (void );
45
- void sigint ();
46
- void childdied ();
45
+ void sigint (int signum );
46
+ void childdied (int signum );
47
47
void determine_adress ();
48
48
int receive_command (int socket , char * buf );
49
49
@@ -662,12 +662,12 @@ void print_usage(void)
662
662
printf ("\t-h (prints this message)\n" );
663
663
}
664
664
665
- void childdied ()
665
+ void childdied (int signum )
666
666
{
667
667
wait (NULL );
668
668
}
669
669
670
- void sigint ()
670
+ void sigint (int signum )
671
671
{
672
672
if (verbose_flag )
673
673
PRINT_ERROR ("received SIGINT\n" );
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ void state_bcm();
52
52
void state_raw ();
53
53
void state_isotp ();
54
54
void state_control ();
55
- void tcp_quickack ();
55
+ void tcp_quickack (int s );
56
56
void state_nobus ();
57
57
58
58
extern int client_socket ;
Original file line number Diff line number Diff line change 56
56
} while (0)
57
57
58
58
void print_usage (void );
59
- void sigint ();
59
+ void sigint (int signum );
60
60
int receive_command (int socket , char * buf );
61
61
void state_connected ();
62
62
@@ -519,12 +519,12 @@ void print_usage(void)
519
519
printf ("\t-h prints this message\n" );
520
520
}
521
521
522
- void childdied ()
522
+ void childdied (int signum )
523
523
{
524
524
wait (NULL );
525
525
}
526
526
527
- void sigint ()
527
+ void sigint (int signum )
528
528
{
529
529
if (verbose_flag )
530
530
PRINT_ERROR ("received SIGINT\n" );
You can’t perform that action at this time.
0 commit comments