summaryrefslogtreecommitdiffstats
path: root/libssh/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/options.c')
-rw-r--r--libssh/options.c2
1 files changed, 1 insertions, 1 deletions
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 */