From 11c442562aa1b3def0f52211e9348baf3e13e27e Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Sat, 27 Feb 2016 11:36:34 +0100 Subject: [PATCH] Fixed dupliace FREERDP_API declarations. --- server/Windows/wf_interface.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/Windows/wf_interface.c b/server/Windows/wf_interface.c index 0dc8defd0..6a158b140 100644 --- a/server/Windows/wf_interface.c +++ b/server/Windows/wf_interface.c @@ -212,7 +212,7 @@ void wfreerdp_server_free(wfServer* server) WSACleanup(); } -FREERDP_API BOOL wfreerdp_server_is_running(wfServer* server) +BOOL wfreerdp_server_is_running(wfServer* server) { DWORD tStatus; BOOL bRet; @@ -229,7 +229,7 @@ FREERDP_API BOOL wfreerdp_server_is_running(wfServer* server) return FALSE; } -FREERDP_API UINT32 wfreerdp_server_num_peers() +UINT32 wfreerdp_server_num_peers() { wfInfo* wfi; @@ -239,7 +239,7 @@ FREERDP_API UINT32 wfreerdp_server_num_peers() return wfi->peerCount; } -FREERDP_API UINT32 wfreerdp_server_get_peer_hostname(int pId, wchar_t * dstStr) +UINT32 wfreerdp_server_get_peer_hostname(int pId, wchar_t * dstStr) { wfInfo* wfi; freerdp_peer* peer; @@ -264,7 +264,7 @@ FREERDP_API UINT32 wfreerdp_server_get_peer_hostname(int pId, wchar_t * dstStr) } } -FREERDP_API BOOL wfreerdp_server_peer_is_local(int pId) +BOOL wfreerdp_server_peer_is_local(int pId) { wfInfo* wfi; freerdp_peer* peer; @@ -284,7 +284,7 @@ FREERDP_API BOOL wfreerdp_server_peer_is_local(int pId) } } -FREERDP_API BOOL wfreerdp_server_peer_is_connected(int pId) +BOOL wfreerdp_server_peer_is_connected(int pId) { wfInfo* wfi; freerdp_peer* peer; @@ -305,7 +305,7 @@ FREERDP_API BOOL wfreerdp_server_peer_is_connected(int pId) } } -FREERDP_API BOOL wfreerdp_server_peer_is_activated(int pId) +BOOL wfreerdp_server_peer_is_activated(int pId) { wfInfo* wfi; freerdp_peer* peer; @@ -325,7 +325,7 @@ FREERDP_API BOOL wfreerdp_server_peer_is_activated(int pId) } } -FREERDP_API BOOL wfreerdp_server_peer_is_authenticated(int pId) +BOOL wfreerdp_server_peer_is_authenticated(int pId) { wfInfo* wfi; freerdp_peer* peer; @@ -345,7 +345,7 @@ FREERDP_API BOOL wfreerdp_server_peer_is_authenticated(int pId) } } -FREERDP_API void wfreerdp_server_register_callback_event(cbCallback cb) +void wfreerdp_server_register_callback_event(cbCallback cb) { cbEvent = cb; }