mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-24 18:37:05 +00:00
Fix warning about signal() arguments type
This commit is contained in:
parent
e645dc3562
commit
bb5b88c03a
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ static int pcap_if_type=DLT_NULL;
|
|||
int err_exit PROTO_LIST((char *str,int num));
|
||||
int usage PROTO_LIST((void));
|
||||
int print_version PROTO_LIST((void));
|
||||
void sig_handler PROTO_LIST((void));
|
||||
void sig_handler PROTO_LIST((int sig));
|
||||
void pcap_cb PROTO_LIST((u_char *ptr,struct pcap_pkthdr *hdr,u_char *data));
|
||||
int main PROTO_LIST((int argc,char **argv));
|
||||
|
||||
|
@ -124,7 +124,7 @@ int print_version()
|
|||
exit(0);
|
||||
}
|
||||
|
||||
void sig_handler()
|
||||
void sig_handler(int sig)
|
||||
{
|
||||
fflush(stdout);
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in a new issue