From aab369d49ee17ff4dacdadbccd7b872cbf61f600 Mon Sep 17 00:00:00 2001 From: dirk Date: Mon, 23 Nov 2015 21:32:03 +0100 Subject: [PATCH] Fixed function declaration. --- MagickCore/nt-base.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MagickCore/nt-base.c b/MagickCore/nt-base.c index 484e493cd..fb54fdfb2 100644 --- a/MagickCore/nt-base.c +++ b/MagickCore/nt-base.c @@ -141,7 +141,8 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE handle,DWORD reason,LPVOID lpvReserved); #endif -static void NTGhostscriptDeleteInstance(gs_main_instance *instance) +static void MagickDLLCall NTGhostscriptDeleteInstance( + gs_main_instance *instance) { LockSemaphoreInfo(ghost_semaphore); nt_ghost_info.delete_instance(instance); @@ -149,7 +150,7 @@ static void NTGhostscriptDeleteInstance(gs_main_instance *instance) UnlockSemaphoreInfo(ghost_semaphore); } -static int NTGhostscriptNewInstance(gs_main_instance **pinstance, +static int MagickDLLCall NTGhostscriptNewInstance(gs_main_instance **pinstance, void *caller_handle) { int -- 2.40.0