Browse Source

Replace inline with __inline__ in AVR32 pt-machine.h header file

This patch replaces inline with __inline__ to be more ANSI compatible.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt 15 years ago
parent
commit
3127a9e72d

+ 1 - 1
libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h

@@ -15,7 +15,7 @@
 # define PT_EI __extern_always_inline
 #endif
 
-static inline int
+static __inline__ int
 _test_and_set (int *p, int v)
 {
 	int result;

+ 1 - 1
libpthread/linuxthreads/sysdeps/avr32/pt-machine.h

@@ -15,7 +15,7 @@
 # define PT_EI __extern_always_inline
 #endif
 
-static inline int
+static __inline__ int
 _test_and_set (int *p, int v) __THROW
 {
 	int result;