From 94fa1bb40fb531a71f7f751afcf96c4ad2f99591 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 6 Jan 2008 00:04:02 +0000 Subject: 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 --- libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h') diff --git a/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h index bbb6b11e9..668057a2a 100644 --- a/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h +++ b/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h @@ -29,11 +29,7 @@ extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base, size_t __child_stack_size, int __flags, void *__arg, ...); #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 /* Make sure gcc doesn't try to be clever and move things around on -- cgit v1.2.3