From 849f10351d673ced1db6f13e399876f22121f60c Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Fri, 8 Dec 2006 00:35:08 +0000 Subject: rename always_inline to av_always_inline and move to common.h Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libavutil/internal.h') diff --git a/libavutil/internal.h b/libavutil/internal.h index 6e3e47af0b..d498f99de6 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -26,14 +26,6 @@ #ifndef INTERNAL_H #define INTERNAL_H -#ifndef always_inline -#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) -# define always_inline __attribute__((always_inline)) inline -#else -# define always_inline inline -#endif -#endif - #ifndef attribute_used #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) # define attribute_used __attribute__((used)) @@ -309,7 +301,7 @@ if((y)<(x)){\ /* XXX: add ISOC specific test to avoid specific BSD testing. */ /* better than nothing implementation. */ /* btw, rintf() is existing on fbsd too -- alex */ -static always_inline long int lrintf(float x) +static av_always_inline long int lrintf(float x) { #ifdef __MINGW32__ # ifdef ARCH_X86_32 -- cgit v1.2.3