aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-08-13 08:17:15 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-08-13 08:17:15 +0200
commit7a64dd1b9a1cc958218a1e52a87c35d1bb6ed456 (patch)
tree337755060fec09142781bd007509fe91dbba48d3 /src
parent5045133dc21af0d6ebed6edc43c091e3c8d9d0ce (diff)
downloadlibssh-7a64dd1b9a1cc958218a1e52a87c35d1bb6ed456.tar.gz
libssh-7a64dd1b9a1cc958218a1e52a87c35d1bb6ed456.tar.xz
libssh-7a64dd1b9a1cc958218a1e52a87c35d1bb6ed456.zip
channel: Make channel_write_common() static.
Diffstat (limited to 'src')
-rw-r--r--src/channels.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c
index 11792a99..ffb087c2 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1243,8 +1243,10 @@ int ssh_channel_flush(ssh_channel channel){
return ssh_blocking_flush(channel->session, SSH_TIMEOUT_DEFAULT);
}
-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;
uint32_t origlen = len;
size_t effectivelen;