From 974a160fd31c10852e9bb811d14a33cff1bae7c4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 2 Feb 2009 16:09:38 +0000 Subject: Fix several build warnings. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@214 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/options.c') diff --git a/libssh/options.c b/libssh/options.c index 9de84ad..1d6a081 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 */ -- cgit