freerdp_client_set_window_size should not be static
authorPeter Åstrand (astrand) <astrand@cendio.se>
Wed, 9 Jan 2019 08:54:31 +0000 (09:54 +0100)
committerPeter Åstrand (astrand) <astrand@cendio.se>
Wed, 9 Jan 2019 08:54:31 +0000 (09:54 +0100)
Avoid GCC error, since it is not static according to wf_client.h.

client/Windows/wf_client.c

index 3cd396d..b14ada1 100644 (file)
@@ -783,7 +783,7 @@ static int freerdp_client_focus_out(wfContext* wfc)
        return 0;
 }
 
-static int freerdp_client_set_window_size(wfContext* wfc, int width, int height)
+int freerdp_client_set_window_size(wfContext* wfc, int width, int height)
 {
        WLog_DBG(TAG,  "freerdp_client_set_window_size %d, %d", width, height);