diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-02-02 15:19:44 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-02-02 15:19:44 +0000 |
commit | 55c7cc683921ea7f4b640184cd13a90656d097ef (patch) | |
tree | 691a127e603d58148eeee83759edfce78d0b2752 | |
parent | ddf4a8e9c977be292a12009a6d0f4a088a996453 (diff) | |
download | libssh-55c7cc683921ea7f4b640184cd13a90656d097ef.tar.gz libssh-55c7cc683921ea7f4b640184cd13a90656d097ef.tar.xz libssh-55c7cc683921ea7f4b640184cd13a90656d097ef.zip |
Fix compiler warning in client.c.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@208 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r-- | include/libssh/libssh.h | 2 | ||||
-rw-r--r-- | libssh/client.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 137531a3..eb2b466b 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -178,7 +178,7 @@ void ssh_disconnect(SSH_SESSION *session); int ssh_service_request(SSH_SESSION *session,char *service); char *ssh_get_issue_banner(SSH_SESSION *session); /* get copyright informations */ -const char *ssh_copyright(); +const char *ssh_copyright(void); /* string.h */ /* You can use these functions, they won't change */ diff --git a/libssh/client.c b/libssh/client.c index f6303efb..1dc1398f 100644 --- a/libssh/client.c +++ b/libssh/client.c @@ -386,7 +386,7 @@ void ssh_disconnect(SSH_SESSION *session){ ssh_cleanup(session); } -const char *ssh_copyright(){ +const char *ssh_copyright(void) { return LIBSSH_VERSION " (c) 2003-2008 Aris Adamantiadis (aris@0xbadc0de.be)" " Distributed under the LGPL, please refer to COPYING file for informations" " about your rights" ; |