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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user