aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 16:17:02 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 16:17:02 +0000
commit8c60d864c74537c1d60be593f3ed02d35b88b4e5 (patch)
tree3f176c42d411a28147173451d166bf7adaa534dd /include
parent974a160fd31c10852e9bb811d14a33cff1bae7c4 (diff)
downloadlibssh-8c60d864c74537c1d60be593f3ed02d35b88b4e5.tar.gz
libssh-8c60d864c74537c1d60be593f3ed02d35b88b4e5.tar.xz
libssh-8c60d864c74537c1d60be593f3ed02d35b88b4e5.zip
Fix build warings in the server code.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@215 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 468cd126..68e3c3e6 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -30,12 +30,12 @@ extern "C" {
typedef struct ssh_bind_struct SSH_BIND;
-SSH_BIND *ssh_bind_new();
+SSH_BIND *ssh_bind_new(void);
void ssh_bind_set_options(SSH_BIND *ssh_bind, SSH_OPTIONS *options);
int ssh_bind_listen(SSH_BIND *ssh_bind);
void ssh_bind_set_blocking(SSH_BIND *ssh_bind,int blocking);
int ssh_bind_get_fd(SSH_BIND *ssh_bind);
-int ssh_bind_set_toaccept(SSH_BIND *ssh_bind);
+void ssh_bind_fd_toaccept(SSH_BIND *ssh_bind);
SSH_SESSION *ssh_bind_accept(SSH_BIND *ssh_bind);
void ssh_bind_free(SSH_BIND *ssh_bind);
int ssh_accept(SSH_SESSION *session);