diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-02-02 16:09:38 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-02-02 16:09:38 +0000 |
commit | 974a160fd31c10852e9bb811d14a33cff1bae7c4 (patch) | |
tree | 4bda1914a6a8f141a4faf57014cf54a868a0c0f2 /libssh/options.c | |
parent | 5e03a95a937c8c64e4bfab8f796d88a4168857bd (diff) | |
download | libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.gz libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.xz libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.zip |
Fix several build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@214 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/options.c b/libssh/options.c index 9de84ad4..1d6a081a 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -45,7 +45,7 @@ MA 02111-1307, USA. */ * \see ssh_options_getopt() */ -SSH_OPTIONS *ssh_options_new(){ +SSH_OPTIONS *ssh_options_new(void) { SSH_OPTIONS *option=malloc(sizeof(SSH_OPTIONS)); memset(option,0,sizeof(SSH_OPTIONS)); option->port=22; /* set the default port */ |