From: cristy Date: Mon, 17 May 2010 19:32:45 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9442 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee74ae7a78f6bde9e7b0400afd4f194057d3eaf8;p=imagemagick --- diff --git a/magick/cache-private.h b/magick/cache-private.h index dfa8cc9e5..dddd564b4 100644 --- a/magick/cache-private.h +++ b/magick/cache-private.h @@ -105,7 +105,6 @@ typedef struct _CacheMethods DestroyPixelHandler destroy_pixel_handler; - } CacheMethods; typedef struct _NexusInfo diff --git a/magick/studio.h b/magick/studio.h index 3e26233c4..657b27e41 100644 --- a/magick/studio.h +++ b/magick/studio.h @@ -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 diff --git a/wand/studio.h b/wand/studio.h index 835bf3c8a..cb63a5432 100644 --- a/wand/studio.h +++ b/wand/studio.h @@ -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