From abf9ccdc5c911f66f19140504974b3606cdb9f26 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 8 Apr 2009 20:28:59 +0000 Subject: Fix build error in SSHv1 channel code. Thanks to Norbert Kiesel for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@435 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/priv.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index b69a058..67e9bef 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -675,13 +675,13 @@ u64 ntohll(u64); /* channels1.c */ int channel_open_session1(CHANNEL *channel); -int channel_request_pty_size1(CHANNEL *channel, char *terminal,int cols, - int rows); +int channel_request_pty_size1(CHANNEL *channel, const char *terminal, + int cols, int rows); int channel_change_pty_size1(CHANNEL *channel, int cols, int rows); int channel_request_shell1(CHANNEL *channel); -int channel_request_exec1(CHANNEL *channel, char *cmd); +int channel_request_exec1(CHANNEL *channel, const char *cmd); int channel_handle1(SSH_SESSION *session, int type); -int channel_write1(CHANNEL *channel, void *data, int len); +int channel_write1(CHANNEL *channel, const void *data, int len); /* session.c */ -- cgit