Commit 15092d3a authored by Niels Möller's avatar Niels Möller
Browse files

(lookup_channel, lookup_channel_reserved): MAde

static.

Rev: src/channel.c:1.125.2.19
Rev: src/channel.h:1.77.2.14
parent bf8a344a
......@@ -248,7 +248,7 @@ register_channel(struct ssh_connection *connection,
remember_resource(connection->resources, &channel->super);
}
struct ssh_channel *
static struct ssh_channel *
lookup_channel(struct ssh_connection *connection, uint32_t i)
{
if ( (i < connection->used_channels) && (connection->in_use[i] == CHANNEL_IN_USE))
......@@ -262,7 +262,7 @@ lookup_channel(struct ssh_connection *connection, uint32_t i)
return NULL;
}
struct ssh_channel *
static struct ssh_channel *
lookup_channel_reserved(struct ssh_connection *connection, uint32_t i)
{
if ( (i < connection->used_channels) && (connection->in_use[i] == CHANNEL_RESERVED))
......
......@@ -86,7 +86,6 @@ enum channel_flag {
CHANNEL_NO_WAIT_FOR_EOF = 0x10
};
/* FIXME: Inherit resource */
/* GABA:
(class
(name ssh_channel)
......@@ -209,12 +208,6 @@ register_channel(struct ssh_connection *table,
struct ssh_channel *channel,
int take_into_use);
/* FIXME: Make static? */
struct ssh_channel *
lookup_channel(struct ssh_connection *table, uint32_t i);
struct ssh_channel *
lookup_channel_reserved(struct ssh_connection *table, uint32_t i);
void
channel_adjust_rec_window(struct ssh_channel *channel, uint32_t written);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment