semaphore_mutex = 0;
#endif
\f
+/*
+ Forward declaractions.
+*/
+static void
+ LockMagickMutex(void),
+ UnlockMagickMutex(void);
+\f
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% %
% %
-% 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 %
% %
% %
% %
% void LockMagickMutex(void)
%
*/
-MagickExport void LockMagickMutex(void)
+static void LockMagickMutex(void)
{
#if defined(MAGICKCORE_HAVE_PTHREAD)
if (pthread_mutex_lock(&semaphore_mutex) != 0)
% %
% %
% %
-% 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 %
% %
% %
% %
% void UnlockMagickMutex(void)
%
*/
-MagickExport void UnlockMagickMutex(void)
+static void UnlockMagickMutex(void)
{
#if defined(MAGICKCORE_HAVE_PTHREAD)
if (pthread_mutex_unlock(&semaphore_mutex) != 0)
DestroySemaphore(void),
DestroySemaphoreInfo(SemaphoreInfo **),
InitializeSemaphore(void),
- LockMagickMutex(void),
- RelinquishSemaphoreInfo(SemaphoreInfo *),
- UnlockMagickMutex(void);
+ RelinquishSemaphoreInfo(SemaphoreInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}