diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-06 00:04:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-06 00:04:02 +0000 |
commit | 94fa1bb40fb531a71f7f751afcf96c4ad2f99591 (patch) | |
tree | 7a011c480ac25a1fef4b1903707dffad7d124b76 /libpthread/linuxthreads/sysdeps/arm/pt-machine.h | |
parent | 645002f7e8a45e039ab1366304b5013877b84797 (diff) |
use the __extern_always_inline define from cdefs.h instead of duplicating gcc version checking in every pt-machine.h header ... while __extern_always_inline should work fine, i think what is intended is __extern_inline ... should double check later
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/arm/pt-machine.h')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/arm/pt-machine.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libpthread/linuxthreads/sysdeps/arm/pt-machine.h b/libpthread/linuxthreads/sysdeps/arm/pt-machine.h index 80d040f4c..9ffc8bdc4 100644 --- a/libpthread/linuxthreads/sysdeps/arm/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/arm/pt-machine.h @@ -25,11 +25,7 @@ #include <features.h> #ifndef PT_EI -# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) -# define PT_EI static inline __attribute__((always_inline)) -# else -# define PT_EI extern inline __attribute__((always_inline)) -# endif +# define PT_EI __extern_always_inline #endif /* This will not work on ARM1 or ARM2 because SWP is lacking on those |