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 4242#include "beacon.h"
4343
4444void print_usage (void );
45- void sigint ();
46- void childdied ();
45+ void sigint (int signum );
46+ void childdied (int signum );
4747void determine_adress ();
4848int receive_command (int socket , char * buf );
4949
@@ -662,12 +662,12 @@ void print_usage(void)
662662 printf ("\t-h (prints this message)\n" );
663663}
664664
665- void childdied ()
665+ void childdied (int signum )
666666{
667667 wait (NULL );
668668}
669669
670- void sigint ()
670+ void sigint (int signum )
671671{
672672 if (verbose_flag )
673673 PRINT_ERROR ("received SIGINT\n" );
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ void state_bcm();
5252void state_raw ();
5353void state_isotp ();
5454void state_control ();
55- void tcp_quickack ();
55+ void tcp_quickack (int s );
5656void state_nobus ();
5757
5858extern int client_socket ;
Original file line number Diff line number Diff line change 5656 } while (0)
5757
5858void print_usage (void );
59- void sigint ();
59+ void sigint (int signum );
6060int receive_command (int socket , char * buf );
6161void state_connected ();
6262
@@ -519,12 +519,12 @@ void print_usage(void)
519519 printf ("\t-h prints this message\n" );
520520}
521521
522- void childdied ()
522+ void childdied (int signum )
523523{
524524 wait (NULL );
525525}
526526
527- void sigint ()
527+ void sigint (int signum )
528528{
529529 if (verbose_flag )
530530 PRINT_ERROR ("received SIGINT\n" );
You can’t perform that action at this time.
0 commit comments