diff options
author | Adam Jackson <ajax@redhat.com> | 2014-07-22 10:58:56 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-28 12:18:11 -0700 |
commit | e03c902e03dea7a6a98ad5fb00580b9404b67c4d (patch) | |
tree | 0da4f4c1198e7165d594f1599294e187a94d00e0 | |
parent | f63b8e44ab278dd65be93146790bf150717fc1c8 (diff) |
xfree86: Undefine NO_INLINE
Nothing in the server defines this, nor do any drivers.
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | hw/xfree86/common/compiler.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index 7dc4fab87..556fa7f0e 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -98,7 +98,7 @@ #if !defined(__GNUC__) && !defined(__FUNCTION__) #define __FUNCTION__ __func__ /* C99 */ #endif -#if defined(NO_INLINE) || defined(DO_PROTOTYPES) +#if defined(DO_PROTOTYPES) #if !defined(__arm__) #if !defined(__sparc__) && !defined(__sparc) && !defined(__arm32__) && !defined(__nds32__) \ && !(defined(__alpha__) && defined(linux)) \ @@ -157,7 +157,6 @@ extern unsigned short ldw_brx(volatile unsigned char *, int); #endif /* NO_INLINE || DO_PROTOTYPES */ -#ifndef NO_INLINE #ifdef __GNUC__ #ifdef __i386__ @@ -230,7 +229,6 @@ extern unsigned short ldw_brx(volatile unsigned char *, int); #define write_mem_barrier() /* XXX: nop for now */ #endif #endif /* __GNUC__ */ -#endif /* NO_INLINE */ #ifndef mem_barrier #define mem_barrier() /* NOP */ @@ -240,7 +238,6 @@ extern unsigned short ldw_brx(volatile unsigned char *, int); #define write_mem_barrier() /* NOP */ #endif -#ifndef NO_INLINE #ifdef __GNUC__ /* Define some packed structures to use with unaligned accesses */ @@ -362,9 +359,7 @@ stw_u(uint16_t val, uint16_t * p) } #endif /* __GNUC__ */ -#endif /* NO_INLINE */ -#ifndef NO_INLINE #ifdef __GNUC__ #if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && (defined(__alpha__)) @@ -1517,8 +1512,6 @@ inl(unsigned short port) #endif #endif /* __GNUC__ */ -#endif /* NO_INLINE */ - #ifdef __alpha__ /* entry points for Mmio memory access routines */ extern _X_EXPORT int (*xf86ReadMmio8) (void *, unsigned long); |