summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 3ede96a6..6dce1006 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -151,7 +151,7 @@ typedef int socket_t;
#define SSH_ERROR -1 /* error of some kind */
#define SSH_AGAIN 1 /* the nonblocking call must be repeated */
-char *ssh_get_error(void *error);
+const char *ssh_get_error(void *error);
int ssh_get_error_code(void *error);
/* version checks */