1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

pcap: Fix definition of ssh_pcap_file_new().

Fixes sparse warnings.
This commit is contained in:
Andreas Schneider
2012-02-18 12:21:14 +01:00
parent 3888a050f8
commit 300caf9ff3

View File

@@ -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));