[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:
akallabeth
2023-08-25 13:41:09 +02:00
committed by akallabeth
parent b608be19e4
commit bb5345c60e
52 changed files with 87 additions and 55 deletions

View File

@@ -1970,7 +1970,8 @@ static int drdynvc_get_version(DrdynvcClientContext* context)
/* drdynvc is always built-in */
#define VirtualChannelEntryEx drdynvc_VirtualChannelEntryEx
BOOL VCAPITYPE VirtualChannelEntryEx(PCHANNEL_ENTRY_POINTS_EX pEntryPoints, PVOID pInitHandle)
FREERDP_ENTRY_POINT(BOOL VCAPITYPE VirtualChannelEntryEx(PCHANNEL_ENTRY_POINTS_EX pEntryPoints,
PVOID pInitHandle))
{
UINT rc;
drdynvcPlugin* drdynvc;