From 3127a9e72dd0f6164f1ab056a490efd558606a63 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Fri, 31 Oct 2008 09:40:57 +0000 Subject: 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 --- libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h | 2 +- libpthread/linuxthreads/sysdeps/avr32/pt-machine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread') 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; -- cgit v1.2.3