1
0
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:
Andreas Schneider
2012-02-18 11:58:38 +01:00
parent 72001ff8cc
commit 3582e386b7

View File

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