1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

messages: Make ssh_message_queue() static

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-09-28 15:24:40 +02:00
parent 7e6b540277
commit ca425ebe67
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,6 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_request);
int ssh_message_handle_channel_request(ssh_session session, ssh_channel channel, ssh_buffer packet,
const char *request, uint8_t want_reply);
void ssh_message_queue(ssh_session session, ssh_message message);
ssh_message ssh_message_pop_head(ssh_session session);
int ssh_message_channel_request_open_reply_accept_channel(ssh_message msg, ssh_channel chan);

View File

@@ -408,7 +408,8 @@ static int ssh_execute_message_callback(ssh_session session, ssh_message msg) {
*
* @param[in] message The message to add to the queue.
*/
void ssh_message_queue(ssh_session session, ssh_message message){
static void ssh_message_queue(ssh_session session, ssh_message message)
{
if (message != NULL) {
#ifdef WITH_SERVER
int ret;