aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-06-25 16:20:38 +0200
committerAndreas Schneider <asn@cynapses.org>2010-06-25 16:20:38 +0200
commitc1729c36d91047c61bf7d42361129da4e2f4006a (patch)
treebd60d8b38e8b08b4b78a53e25285962024a82bc2
parent23efab0f8fcb3cf712511360cbd9b8eed99ed273 (diff)
downloadlibssh-c1729c36d91047c61bf7d42361129da4e2f4006a.tar.gz
libssh-c1729c36d91047c61bf7d42361129da4e2f4006a.tar.xz
libssh-c1729c36d91047c61bf7d42361129da4e2f4006a.zip
socket: Fixed a prototype.
-rw-r--r--include/libssh/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index c7a1994e..3e433e1f 100644
--- a/include/libssh/socket.h
+++ b/include/libssh/socket.h
@@ -38,7 +38,7 @@ int ssh_socket_read(struct socket *s, void *buffer, int len);
int ssh_socket_write(struct socket *s,const void *buffer, int len);
int ssh_socket_is_open(struct socket *s);
int ssh_socket_fd_isset(struct socket *s, fd_set *set);
-void ssh_socket_fd_set(struct socket *s, fd_set *set, socket_t *max_fd) {
+void ssh_socket_fd_set(struct socket *s, fd_set *set, socket_t *max_fd);
int ssh_socket_completeread(struct socket *s, void *buffer, uint32_t len);
int ssh_socket_completewrite(struct socket *s, const void *buffer, uint32_t len);
int ssh_socket_wait_for_data(struct socket *s, ssh_session session, uint32_t len);