diff --git a/magick/magick.c b/magick/magick.c
index fb5681f..ed0b956 100644
--- a/magick/magick.c
+++ b/magick/magick.c
@@ -228,7 +228,7 @@
if (p == (const MagickInfo *) NULL)
return(MagickFalse);
status=MagickFalse;
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
ResetSplayTreeIterator(magick_list);
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
while (p != (const MagickInfo *) NULL)
@@ -242,7 +242,7 @@
}
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
}
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
return(status);
}
@@ -412,16 +412,16 @@
if (LocaleCompare(name,"*") == 0)
(void) OpenModules(exception);
#endif
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
ResetSplayTreeIterator(magick_list);
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
return(p);
}
/*
Find name in list.
*/
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
ResetSplayTreeIterator(magick_list);
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
while (p != (const MagickInfo *) NULL)
@@ -445,7 +445,7 @@
}
}
#endif
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
return(p);
}
@@ -526,7 +526,7 @@
/*
Generate magick list.
*/
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
ResetSplayTreeIterator(magick_list);
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
for (i=0; p != (const MagickInfo *) NULL; )
@@ -536,7 +536,7 @@
formats[i++]=p;
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
}
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
qsort((void *) formats,(size_t) i,sizeof(*formats),MagickInfoCompare);
formats[i]=(MagickInfo *) NULL;
*number_formats=(unsigned long) i;
@@ -616,7 +616,7 @@
GetNumberOfNodesInSplayTree(magick_list)+1UL,sizeof(*formats));
if (formats == (char **) NULL)
return((char **) NULL);
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
ResetSplayTreeIterator(magick_list);
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
for (i=0; p != (const MagickInfo *) NULL; )
@@ -626,7 +626,7 @@
formats[i++]=ConstantString(p->name);
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
}
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
qsort((void *) formats,(size_t) i,sizeof(*formats),MagickCompare);
formats[i]=(char *) NULL;
*number_formats=(unsigned long) i;
@@ -777,7 +777,7 @@
{
if (magick_semaphore == (SemaphoreInfo *) NULL)
AcquireSemaphoreInfo(&magick_semaphore);
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
if ((magick_list == (SplayTreeInfo *) NULL) &&
(instantiate_magick == MagickFalse))
{
@@ -819,7 +819,7 @@
#endif
instantiate_magick=MagickTrue;
}
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
}
return(magick_list != (SplayTreeInfo *) NULL ? MagickTrue : MagickFalse);
}
@@ -1057,11 +1057,11 @@
{
if (magick_semaphore == (SemaphoreInfo *) NULL)
AcquireSemaphoreInfo(&magick_semaphore);
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
if (magick_list != (SplayTreeInfo *) NULL)
magick_list=DestroySplayTree(magick_list);
instantiate_magick=MagickFalse;
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
DestroySemaphoreInfo(&magick_semaphore);
}
@@ -1464,7 +1464,7 @@
return(MagickFalse);
if (GetNumberOfNodesInSplayTree(magick_list) == 0)
return(MagickFalse);
- (void) LockSemaphoreInfo(magick_semaphore);
+ LockSemaphoreInfo(magick_semaphore);
ResetSplayTreeIterator(magick_list);
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
while (p != (const MagickInfo *) NULL)
@@ -1474,6 +1474,6 @@
p=(const MagickInfo *) GetNextValueInSplayTree(magick_list);
}
status=DeleteNodeByValueFromSplayTree(magick_list,p);
- (void) UnlockSemaphoreInfo(magick_semaphore);
+ UnlockSemaphoreInfo(magick_semaphore);
return(status);
}