svn commit: trunk/uClibc/libpthread: linuxthreads/sysdeps/avr32 linuxthreads. etc...
egtvedt at uclibc.org
egtvedt at uclibc.org
Fri Oct 31 09:40:57 UTC 2008
Author: egtvedt
Date: 2008-10-31 02:40:57 -0700 (Fri, 31 Oct 2008)
New Revision: 23877
Log:
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 at atmel.com>
Modified:
trunk/uClibc/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
trunk/uClibc/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h
Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h 2008-10-31 04:03:27 UTC (rev 23876)
+++ trunk/uClibc/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h 2008-10-31 09:40:57 UTC (rev 23877)
@@ -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;
Modified: trunk/uClibc/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h 2008-10-31 04:03:27 UTC (rev 23876)
+++ trunk/uClibc/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h 2008-10-31 09:40:57 UTC (rev 23877)
@@ -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;
More information about the uClibc-cvs
mailing list