diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2012-02-18 12:21:14 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-02-19 13:26:02 +0100 |
commit | 300caf9ff31ed797b0358bbe441068356baac168 (patch) | |
tree | 4af22a889f658dcf372bf0efa85c14b3a8113e6d | |
parent | 3888a050f83c3a75b92ed2dba4163f56dd5dfdb9 (diff) | |
download | libssh-300caf9ff31ed797b0358bbe441068356baac168.tar.gz libssh-300caf9ff31ed797b0358bbe441068356baac168.tar.xz libssh-300caf9ff31ed797b0358bbe441068356baac168.zip |
pcap: Fix definition of ssh_pcap_file_new().
Fixes sparse warnings.
-rw-r--r-- | src/pcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ struct ssh_pcap_file_struct { /** * @brief create a new ssh_pcap_file object */ -ssh_pcap_file ssh_pcap_file_new(){ +ssh_pcap_file ssh_pcap_file_new(void) { struct ssh_pcap_file_struct *pcap; pcap = (struct ssh_pcap_file_struct *) malloc(sizeof(struct ssh_pcap_file_struct)); |