]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 17 May 2010 19:32:45 +0000 (19:32 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 17 May 2010 19:32:45 +0000 (19:32 +0000)
magick/cache-private.h
magick/studio.h
wand/studio.h

index dfa8cc9e5dbecbd760f23acc914fb6fe466199eb..dddd564b4dbc1a44dfd43432b783bce2f9a7e188 100644 (file)
@@ -105,7 +105,6 @@ typedef struct _CacheMethods
 
   DestroyPixelHandler
     destroy_pixel_handler;
-
 } CacheMethods;
 
 typedef struct _NexusInfo
index 3e26233c4335a66254f36748d5e155d9241a741b..657b27e41212ad838c7d7f35152ee5a155ab7961 100644 (file)
@@ -225,9 +225,11 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #endif
 
 #if defined(MAGICKCORE_HAVE___ATTRIBUTE__)
+#  define magick_aligned(x)  __attribute__((aligned(x)))
 #  define magick_attribute  __attribute__
 #  define magick_unused(x)  magick_unused_ ## x __attribute__((unused))
 #else
+#  define magick_aligned(x)  /* nothing */
 #  define magick_attribute(x)  /* nothing */
 #  define magick_unused(x) x
 #endif
index 835bf3c8a065450baebaf2971ecc78581a6a5fd3..cb63a5432d10b855c06a7413b6ebce177e96b3d2 100644 (file)
@@ -235,9 +235,11 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #endif
 
 #if defined(MAGICKCORE_HAVE___ATTRIBUTE__)
+#  define wand_aligned(x)  __attribute__((aligned(x)))
 #  define wand_attribute  __attribute__
 #  define wand_unused(x)  wand_unused_ ## x __attribute__((unused))
 #else
+#  define wand_aligned(x)  /* nothing */
 #  define wand_attribute(x)  /* nothing */
 #  define wand_unused(x) x
 #endif