mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[freerdp,api] add FREERDP_ENTRY_POINT
C requires prototypes or compilers will complain about them missing. Our library entry points do not have such, therefore add the macro FREERDP_ENTRY_POINT which declares the function prototype automatically before the function.
This commit is contained in:
@@ -1230,7 +1230,8 @@ static VOID VCAPITYPE encomsp_virtual_channel_init_event_ex(LPVOID lpUserParam,
|
||||
/* encomsp is always built-in */
|
||||
#define VirtualChannelEntryEx encomsp_VirtualChannelEntryEx
|
||||
|
||||
BOOL VCAPITYPE VirtualChannelEntryEx(PCHANNEL_ENTRY_POINTS_EX pEntryPoints, PVOID pInitHandle)
|
||||
FREERDP_ENTRY_POINT(BOOL VCAPITYPE VirtualChannelEntryEx(PCHANNEL_ENTRY_POINTS_EX pEntryPoints,
|
||||
PVOID pInitHandle))
|
||||
{
|
||||
BOOL isFreerdp = FALSE;
|
||||
encomspPlugin* encomsp = (encomspPlugin*)calloc(1, sizeof(encomspPlugin));
|
||||
|
||||
Reference in New Issue
Block a user