]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 11 Oct 2009 04:04:59 +0000 (04:04 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 11 Oct 2009 04:04:59 +0000 (04:04 +0000)
magick/semaphore.c
magick/semaphore.h

index 9f28f8a522b2405c4d295465c0837e6570ccf939..39834b5829a478375c7fac8f8aea8f5a710c97a1 100644 (file)
@@ -82,6 +82,13 @@ static long
   semaphore_mutex = 0;
 #endif
 \f
+/*
+  Forward declaractions.
+*/
+static void
+  LockMagickMutex(void),
+  UnlockMagickMutex(void);
+\f
 /*
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                                                                             %
@@ -275,7 +282,7 @@ MagickExport void InitializeSemaphore(void)
 %                                                                             %
 %                                                                             %
 %                                                                             %
-%   L o c k M a g i c k M u t e x                                             %
++   L o c k M a g i c k M u t e x                                             %
 %                                                                             %
 %                                                                             %
 %                                                                             %
@@ -289,7 +296,7 @@ MagickExport void InitializeSemaphore(void)
 %      void LockMagickMutex(void)
 %
 */
-MagickExport void LockMagickMutex(void)
+static void LockMagickMutex(void)
 {
 #if defined(MAGICKCORE_HAVE_PTHREAD)
   if (pthread_mutex_lock(&semaphore_mutex) != 0)
@@ -400,7 +407,7 @@ MagickExport void RelinquishSemaphoreInfo(SemaphoreInfo *semaphore_info)
 %                                                                             %
 %                                                                             %
 %                                                                             %
-%   U n l o c k M a g i c k M u t e x                                         %
++   U n l o c k M a g i c k M u t e x                                         %
 %                                                                             %
 %                                                                             %
 %                                                                             %
@@ -413,7 +420,7 @@ MagickExport void RelinquishSemaphoreInfo(SemaphoreInfo *semaphore_info)
 %      void UnlockMagickMutex(void)
 %
 */
-MagickExport void UnlockMagickMutex(void)
+static void UnlockMagickMutex(void)
 {
 #if defined(MAGICKCORE_HAVE_PTHREAD)
   if (pthread_mutex_unlock(&semaphore_mutex) != 0)
index 8e046adebc6b4c6fe828151237fec5b2c643e7e2..acd4d48999073e794b6c59e72b51f5a02d3477c6 100644 (file)
@@ -37,9 +37,7 @@ extern MagickExport void
   DestroySemaphore(void),
   DestroySemaphoreInfo(SemaphoreInfo **),
   InitializeSemaphore(void),
-  LockMagickMutex(void),
-  RelinquishSemaphoreInfo(SemaphoreInfo *),
-  UnlockMagickMutex(void);
+  RelinquishSemaphoreInfo(SemaphoreInfo *);
 
 #if defined(__cplusplus) || defined(c_plusplus)
 }