summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-31 09:40:57 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-31 09:40:57 +0000
commit3127a9e72dd0f6164f1ab056a490efd558606a63 (patch)
tree25fe591f2de627851e26e9f2eb3f3ff503283446 /libpthread
parentab0da6f81ac24e90edff3cb9a382e3dce4177d10 (diff)
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>
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h2
-rw-r--r--libpthread/linuxthreads/sysdeps/avr32/pt-machine.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
index cd45d5faf..5735d0ea2 100644
--- a/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
+++ b/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;
diff --git a/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h b/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h
index b93bc47f0..b4c5dd0f4 100644
--- a/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h
+++ b/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;