aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index 8ac2a41ee..e87b21ba3 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -29,12 +29,12 @@ extern const struct Curl_handler Curl_handler_scp;
extern const struct Curl_handler Curl_handler_sftp;
ssize_t Curl_scp_send(struct connectdata *conn, int sockindex,
- void *mem, size_t len);
+ const void *mem, size_t len);
ssize_t Curl_scp_recv(struct connectdata *conn, int sockindex,
char *mem, size_t len);
ssize_t Curl_sftp_send(struct connectdata *conn, int sockindex,
- void *mem, size_t len);
+ const void *mem, size_t len);
ssize_t Curl_sftp_recv(struct connectdata *conn, int sockindex,
char *mem, size_t len);