From 300caf9ff31ed797b0358bbe441068356baac168 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 18 Feb 2012 12:21:14 +0100 Subject: pcap: Fix definition of ssh_pcap_file_new(). Fixes sparse warnings. --- src/pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3