summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/eigccppc.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-12 08:58:57 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-12 08:58:57 +0100
commit379581fb3690d92f7e3815534a479823aee8ddcc (patch)
tree77b4a080ba46ba58bfd8382926580cb2aad5a69d /src/osd/eigccppc.h
parentafe2bbe6481acf518e384509586ada235e106c54 (diff)
macro removal INLINE -> static inline (nw)
Diffstat (limited to 'src/osd/eigccppc.h')
-rw-r--r--src/osd/eigccppc.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/osd/eigccppc.h b/src/osd/eigccppc.h
index 846a0aac55b..dacf6b5efc3 100644
--- a/src/osd/eigccppc.h
+++ b/src/osd/eigccppc.h
@@ -41,7 +41,7 @@
-------------------------------------------------*/
#define mul_32x32_hi _mul_32x32_hi
-INLINE INT32 ATTR_CONST ATTR_FORCE_INLINE
+static inline INT32 ATTR_CONST ATTR_FORCE_INLINE
_mul_32x32_hi(INT32 val1, INT32 val2)
{
INT32 result;
@@ -64,7 +64,7 @@ _mul_32x32_hi(INT32 val1, INT32 val2)
-------------------------------------------------*/
#define mulu_32x32_hi _mulu_32x32_hi
-INLINE UINT32 ATTR_CONST ATTR_FORCE_INLINE
+static inline UINT32 ATTR_CONST ATTR_FORCE_INLINE
_mulu_32x32_hi(UINT32 val1, UINT32 val2)
{
UINT32 result;
@@ -89,7 +89,7 @@ _mulu_32x32_hi(UINT32 val1, UINT32 val2)
#if !defined(__ppc64__) && !defined(__PPC64__) && !defined(_ARCH_PPC64)
#define mul_32x32_shift _mul_32x32_shift
-INLINE INT32 ATTR_CONST ATTR_FORCE_INLINE
+static inline INT32 ATTR_CONST ATTR_FORCE_INLINE
_mul_32x32_shift(INT32 val1, INT32 val2, UINT8 shift)
{
INT32 result;
@@ -123,7 +123,7 @@ _mul_32x32_shift(INT32 val1, INT32 val2, UINT8 shift)
#if !defined(__ppc64__) && !defined(__PPC64__) && !defined(_ARCH_PPC64)
#define mulu_32x32_shift _mulu_32x32_shift
-INLINE UINT32 ATTR_CONST ATTR_FORCE_INLINE
+static inline UINT32 ATTR_CONST ATTR_FORCE_INLINE
_mulu_32x32_shift(UINT32 val1, UINT32 val2, UINT8 shift)
{
UINT32 result;
@@ -222,7 +222,7 @@ _mulu_32x32_shift(UINT32 val1, UINT32 val2, UINT8 shift)
-------------------------------------------------*/
#define recip_approx _recip_approx
-INLINE float ATTR_CONST ATTR_FORCE_INLINE
+static inline float ATTR_CONST ATTR_FORCE_INLINE
_recip_approx(float value)
{
float result;
@@ -248,7 +248,7 @@ _recip_approx(float value)
-------------------------------------------------*/
#define count_leading_zeros _count_leading_zeros
-INLINE UINT8 ATTR_CONST ATTR_FORCE_INLINE
+static inline UINT8 ATTR_CONST ATTR_FORCE_INLINE
_count_leading_zeros(UINT32 value)
{
UINT32 result;
@@ -269,7 +269,7 @@ _count_leading_zeros(UINT32 value)
-------------------------------------------------*/
#define count_leading_ones _count_leading_ones
-INLINE UINT8 ATTR_CONST ATTR_FORCE_INLINE
+static inline UINT8 ATTR_CONST ATTR_FORCE_INLINE
_count_leading_ones(UINT32 value)
{
UINT32 result;
@@ -298,7 +298,7 @@ _count_leading_ones(UINT32 value)
-------------------------------------------------*/
#define compare_exchange32 _compare_exchange32
-INLINE INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
+static inline INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
_compare_exchange32(INT32 volatile *ptr, INT32 compare, INT32 exchange)
{
INT32 result;
@@ -332,7 +332,7 @@ _compare_exchange32(INT32 volatile *ptr, INT32 compare, INT32 exchange)
#if defined(__ppc64__) || defined(__PPC64__)
#define compare_exchange64 _compare_exchange64
-INLINE INT64 ATTR_NONNULL(1) ATTR_FORCE_INLINE
+static inline INT64 ATTR_NONNULL(1) ATTR_FORCE_INLINE
_compare_exchange64(INT64 volatile *ptr, INT64 compare, INT64 exchange)
{
INT64 result;
@@ -365,7 +365,7 @@ _compare_exchange64(INT64 volatile *ptr, INT64 compare, INT64 exchange)
-------------------------------------------------*/
#define atomic_exchange32 _atomic_exchange32
-INLINE INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
+static inline INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
_atomic_exchange32(INT32 volatile *ptr, INT32 exchange)
{
INT32 result;
@@ -393,7 +393,7 @@ _atomic_exchange32(INT32 volatile *ptr, INT32 exchange)
-------------------------------------------------*/
#define atomic_add32 _atomic_add32
-INLINE INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
+static inline INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
_atomic_add32(INT32 volatile *ptr, INT32 delta)
{
INT32 result;
@@ -422,7 +422,7 @@ _atomic_add32(INT32 volatile *ptr, INT32 delta)
-------------------------------------------------*/
#define atomic_increment32 _atomic_increment32
-INLINE INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
+static inline INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
_atomic_increment32(INT32 volatile *ptr)
{
INT32 result;
@@ -450,7 +450,7 @@ _atomic_increment32(INT32 volatile *ptr)
-------------------------------------------------*/
#define atomic_decrement32 _atomic_decrement32
-INLINE INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
+static inline INT32 ATTR_NONNULL(1) ATTR_FORCE_INLINE
_atomic_decrement32(INT32 volatile *ptr)
{
INT32 result;
@@ -484,7 +484,7 @@ _atomic_decrement32(INT32 volatile *ptr)
-------------------------------------------------*/
#define get_profile_ticks _get_profile_ticks
-INLINE INT64 ATTR_UNUSED ATTR_FORCE_INLINE _get_profile_ticks(void)
+static inline INT64 ATTR_UNUSED ATTR_FORCE_INLINE _get_profile_ticks(void)
{
// fix me - should use the time base
return osd_ticks();