aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-07-29 16:34:21 +0200
committerAndreas Schneider <mail@cynapses.org>2009-07-29 18:42:10 +0200
commit60837b1538e4d61cb847d382a8a608e333f6d0fd (patch)
tree17cb729ab1af51f40ba7f42fa43848cfd40ac78d /libssh
parentdebfd1f3a3c1829ae9a762588463ad7ec1b78abd (diff)
downloadlibssh-60837b1538e4d61cb847d382a8a608e333f6d0fd.tar.gz
libssh-60837b1538e4d61cb847d382a8a608e333f6d0fd.tar.xz
libssh-60837b1538e4d61cb847d382a8a608e333f6d0fd.zip
Add channel_write_stderr prototype to the right header file.
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'libssh')
-rw-r--r--libssh/channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index f40ebc93..9e558894 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -858,7 +858,8 @@ error:
return rc;
}
-int channel_write_common(ssh_channel channel, const void *data, uint32_t len, int is_stderr) {
+static int channel_write_common(ssh_channel channel, const void *data,
+ uint32_t len, int is_stderr) {
SSH_SESSION *session = channel->session;
int origlen = len;
int effectivelen;