aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-18 11:58:38 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-19 13:26:02 +0100
commit3582e386b7173a3da3fad509c6b315b000817302 (patch)
treee8162f91bc174428deaad307e73e3981fa4cb64e /src/misc.c
parent72001ff8cc119da36ffc2d33228d45c57c92b7a5 (diff)
downloadlibssh-3582e386b7173a3da3fad509c6b315b000817302.tar.gz
libssh-3582e386b7173a3da3fad509c6b315b000817302.tar.xz
libssh-3582e386b7173a3da3fad509c6b315b000817302.zip
misc: Fix definitions of ssh_list_new().
Fixes sparse warnings.
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 3bf03493..6b051dbc 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -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;