]> granicus.if.org Git - imagemagick/commitdiff
Fixed function declaration.
authordirk <dirk@git.imagemagick.org>
Mon, 23 Nov 2015 20:32:03 +0000 (21:32 +0100)
committerdirk <dirk@git.imagemagick.org>
Mon, 23 Nov 2015 20:32:03 +0000 (21:32 +0100)
MagickCore/nt-base.c

index 484e493cd41fcb5c5dd5e26133ede7f2ff907ae4..fb54fdfb2bf194b532a20db7d5a1747ef03c44d0 100644 (file)
@@ -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