summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-12-08 00:35:08 +0000
committerMåns Rullgård <mans@mansr.com>2006-12-08 00:35:08 +0000
commit849f10351d673ced1db6f13e399876f22121f60c (patch)
tree779ae65e38d3070b7bf48ea6e6d89032a9e00521 /libavutil/internal.h
parentfb17fac8c7dd92c77cf93019510e15fdae418d16 (diff)
rename always_inline to av_always_inline and move to common.h
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h10
1 files changed, 1 insertions, 9 deletions
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