aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libssh/libsshpp.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp
index c3d93e2..2fe873e 100644
--- a/include/libssh/libsshpp.hpp
+++ b/include/libssh/libsshpp.hpp
@@ -131,7 +131,7 @@ public:
* @throws SshException on error
* @see ssh_userauth_autopubkey
*/
- int userauthAutopubkey(){
+ void userauthAutopubkey(void){
int ret=ssh_userauth_autopubkey(c_session,NULL);
if(ret==SSH_ERROR)
ssh_throw(ret);