diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2012-02-18 11:58:38 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-02-19 13:26:02 +0100 |
commit | 3582e386b7173a3da3fad509c6b315b000817302 (patch) | |
tree | e8162f91bc174428deaad307e73e3981fa4cb64e /src | |
parent | 72001ff8cc119da36ffc2d33228d45c57c92b7a5 (diff) | |
download | libssh-3582e386b7173a3da3fad509c6b315b000817302.tar.gz libssh-3582e386b7173a3da3fad509c6b315b000817302.tar.xz libssh-3582e386b7173a3da3fad509c6b315b000817302.zip |
misc: Fix definitions of ssh_list_new().
Fixes sparse warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |