aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-18 12:21:14 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-19 13:26:02 +0100
commit300caf9ff31ed797b0358bbe441068356baac168 (patch)
tree4af22a889f658dcf372bf0efa85c14b3a8113e6d
parent3888a050f83c3a75b92ed2dba4163f56dd5dfdb9 (diff)
downloadlibssh-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcap.c b/src/pcap.c
index b57b564..cc96863 100644
--- a/src/pcap.c
+++ b/src/pcap.c
@@ -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));