[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

@@ -414,7 +414,7 @@ static void parallel_message_free(void* obj)
*
* @return 0 on success, otherwise a Win32 error code
*/
UINT parallel_DeviceServiceEntry(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints)
FREERDP_ENTRY_POINT(UINT parallel_DeviceServiceEntry(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints))
{
char* name;
char* path;