From da48b4eb8d0d6d51a42beae61a7e2823ffd55d7d Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 28 Oct 2019 09:31:50 +0100 Subject: [PATCH] Made disp channel internal functions static. --- channels/disp/client/disp_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/channels/disp/client/disp_main.c b/channels/disp/client/disp_main.c index cbea790..294d20d 100644 --- a/channels/disp/client/disp_main.c +++ b/channels/disp/client/disp_main.c @@ -80,7 +80,7 @@ typedef struct _DISP_PLUGIN DISP_PLUGIN; * * @return 0 on success, otherwise a Win32 error code */ -UINT disp_send_display_control_monitor_layout_pdu(DISP_CHANNEL_CALLBACK* callback, +static UINT disp_send_display_control_monitor_layout_pdu(DISP_CHANNEL_CALLBACK* callback, UINT32 NumMonitors, DISPLAY_CONTROL_MONITOR_LAYOUT* Monitors) { UINT status; @@ -165,7 +165,7 @@ out: * * @return 0 on success, otherwise a Win32 error code */ -UINT disp_recv_display_control_caps_pdu(DISP_CHANNEL_CALLBACK* callback, wStream* s) +static UINT disp_recv_display_control_caps_pdu(DISP_CHANNEL_CALLBACK* callback, wStream* s) { DISP_PLUGIN* disp; DispClientContext* context; @@ -195,7 +195,7 @@ UINT disp_recv_display_control_caps_pdu(DISP_CHANNEL_CALLBACK* callback, wStream * * @return 0 on success, otherwise a Win32 error code */ -UINT disp_recv_pdu(DISP_CHANNEL_CALLBACK* callback, wStream* s) +static UINT disp_recv_pdu(DISP_CHANNEL_CALLBACK* callback, wStream* s) { UINT32 error; DISPLAY_CONTROL_HEADER header; @@ -329,7 +329,7 @@ static UINT disp_plugin_terminated(IWTSPlugin* pPlugin) * * @return 0 on success, otherwise a Win32 error code */ -UINT disp_send_monitor_layout(DispClientContext* context, UINT32 NumMonitors, +static UINT disp_send_monitor_layout(DispClientContext* context, UINT32 NumMonitors, DISPLAY_CONTROL_MONITOR_LAYOUT* Monitors) { DISP_PLUGIN* disp = (DISP_PLUGIN*) context->handle; -- 2.7.4