# HG changeset patch # User benoit # Date 1180517545 0 # Node ID 8829032777d50532964bbfd938894dd44a2993f6 # Parent 76077bb41478de5702c3a6387f06f7aa6488cd61 rename attribute_unused to av_unused and moves its declaration to common.h patch by Carl Eugen Hoyos cehoyos chez ag or at original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused date: 05/29/2007 01:23 PM diff -r 76077bb41478 -r 8829032777d5 common.h --- a/common.h Wed May 16 12:25:54 2007 +0000 +++ b/common.h Wed May 30 09:32:25 2007 +0000 @@ -63,6 +63,14 @@ #endif #endif +#ifndef av_unused +#if defined(__GNUC__) +# define av_unused __attribute__((unused)) +#else +# define av_unused +#endif +#endif + #include "mem.h" //rounded divison & shift diff -r 76077bb41478 -r 8829032777d5 internal.h --- a/internal.h Wed May 16 12:25:54 2007 +0000 +++ b/internal.h Wed May 30 09:32:25 2007 +0000 @@ -34,14 +34,6 @@ #endif #endif -#ifndef attribute_unused -#if defined(__GNUC__) -# define attribute_unused __attribute__((unused)) -#else -# define attribute_unused -#endif -#endif - #ifndef M_PI #define M_PI 3.14159265358979323846 #endif diff -r 76077bb41478 -r 8829032777d5 md5.c --- a/md5.c Wed May 16 12:25:54 2007 +0000 +++ b/md5.c Wed May 30 09:32:25 2007 +0000 @@ -87,7 +87,7 @@ static void body(uint32_t ABCD[4], uint32_t X[16]){ int t; - int i attribute_unused; + int i av_unused; unsigned int a= ABCD[3]; unsigned int b= ABCD[2]; unsigned int c= ABCD[1];