summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-03-15 15:53:55 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-03-15 15:53:55 +0000
commit780a701d63b25431f31d77f0701f98bfe5ea2d94 (patch)
treebe2c2f5c557acee55c8ab41b6d3a87d8f84b3cbd /libc/misc
parenta6728b114d9c99b8515accb002474ea703a6705c (diff)
Merge changes between r7922 and r8107 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@8108 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/sys/cdefs.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libc/misc/sys/cdefs.h b/libc/misc/sys/cdefs.h
index efdc4f97e..c9495a479 100644
--- a/libc/misc/sys/cdefs.h
+++ b/libc/misc/sys/cdefs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2001, 2002, 2004, 2005, 2006, 2007
+/* Copyright (C) 1992-2001, 2002, 2004, 2005, 2006, 2007, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -303,7 +303,12 @@
# endif
# else
# define __extern_inline extern __inline
-# define __extern_always_inline extern __always_inline
+# if __GNUC_PREREQ (4,3)
+# define __extern_always_inline \
+ extern __always_inline __attribute__ ((__artificial__))
+# else
+# define __extern_always_inline extern __always_inline
+# endif
# endif
#endif