mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
misc: Fix definitions of ssh_list_new().
Fixes sparse warnings.
This commit is contained in:
@@ -363,7 +363,7 @@ const char *ssh_version(int req_version) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct ssh_list *ssh_list_new(){
|
||||
struct ssh_list *ssh_list_new(void) {
|
||||
struct ssh_list *ret=malloc(sizeof(struct ssh_list));
|
||||
if(!ret)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user