]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/magic.c
Fix CLUT interpolation method
[imagemagick] / MagickCore / magic.c
index 71d7414179f683ff6187e7022837a4b31dd68933..cfbfa56c1b2c9b2493ffa36ebbfeaa95f3e683f4 100644 (file)
@@ -17,7 +17,7 @@
 %                                 July 2000                                   %
 %                                                                             %
 %                                                                             %
-%  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization      %
+%  Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization      %
 %  dedicated to making software imaging solutions freely available.           %
 %                                                                             %
 %  You may not use this file except in compliance with the License.  You may  %
 #include "MagickCore/blob.h"
 #include "MagickCore/client.h"
 #include "MagickCore/configure.h"
+#include "MagickCore/configure-private.h"
 #include "MagickCore/exception.h"
 #include "MagickCore/exception-private.h"
 #include "MagickCore/hashmap.h"
 #include "MagickCore/magic.h"
+#include "MagickCore/magic-private.h"
 #include "MagickCore/memory_.h"
 #include "MagickCore/semaphore.h"
 #include "MagickCore/string_.h"
 #include "MagickCore/string-private.h"
 #include "MagickCore/token.h"
 #include "MagickCore/utility.h"
+#include "MagickCore/utility-private.h"
 #include "MagickCore/xml-tree.h"
 \f
 /*
@@ -819,7 +822,7 @@ static MagickBooleanType LoadMagicList(const char *xml,const char *filename,
       {
         if (LocaleCompare((char *) keyword,"stealth") == 0)
           {
-            magic_info->stealth=IsMagickTrue(token);
+            magic_info->stealth=IsStringTrue(token);
             break;
           }
         break;
@@ -1015,7 +1018,7 @@ static MagickBooleanType LoadMagicLists(const char *filename,
 %      MagickBooleanType MagicComponentGenesis(void)
 %
 */
-MagickExport MagickBooleanType MagicComponentGenesis(void)
+MagickPrivate MagickBooleanType MagicComponentGenesis(void)
 {
   AcquireSemaphoreInfo(&magic_semaphore);
   return(MagickTrue);
@@ -1061,7 +1064,7 @@ static void *DestroyMagicElement(void *magic_info)
   return((void *) NULL);
 }
 
-MagickExport void MagicComponentTerminus(void)
+MagickPrivate void MagicComponentTerminus(void)
 {
   if (magic_semaphore == (SemaphoreInfo *) NULL)
     AcquireSemaphoreInfo(&magic_semaphore);