summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkraj <kraj@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-03-28 02:36:41 +0000
committerkraj <kraj@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-03-28 02:36:41 +0000
commite9df0bd180811952a77a37fd747c29777b9c3f5a (patch)
tree734952c9888758efef62f345f9354f6e86b26cc5
parent214735130e92b60b58d79c4275f4c70ec1841fc7 (diff)
downloadlocaledef-e9df0bd180811952a77a37fd747c29777b9c3f5a.tar.gz
localedef-e9df0bd180811952a77a37fd747c29777b9c3f5a.tar.xz
Define __extern_inline, __extern_always_inline.
git-svn-id: svn://svn.eglibc.org/trunk/localedef@1824 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r--ChangeLog.eglibc9
-rw-r--r--include/sys/cdefs.h11
2 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog.eglibc b/ChangeLog.eglibc
index 26ec79a..4b2c81d 100644
--- a/ChangeLog.eglibc
+++ b/ChangeLog.eglibc
@@ -1,7 +1,12 @@
+2007-03-27 Khem Raj <kraj@mvista.com>
+
+ * include/sys/cdefs.h: (__extern_inline, __extern_always_inline):
+ Define.
+
2006-12-26 Jim Blandy <jimb@codesourcery.com>
- * Makefile.in: Include option-groups.mak from glibc. Trim
- locale list if OPTION_EGLIBC_LOCALES is not enabled.
+ * Makefile.in: Include option-groups.mak from glibc. Trim
+ locale list if OPTION_EGLIBC_LOCALES is not enabled.
2006-09-07 Richard Sandiford <richard@codesourcery.com>
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h
index 4225e9b..0cae14e 100644
--- a/include/sys/cdefs.h
+++ b/include/sys/cdefs.h
@@ -25,3 +25,14 @@
#ifndef __flexarr
#define __flexarr [0]
#endif
+
+#ifndef __extern_inline
+#ifdef __GNUC_STDC_INLINE__
+# define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
+# define __extern_always_inline \
+ extern __always_inline __attribute__ ((__gnu_inline__))
+#else
+# define __extern_inline extern __inline
+# define __extern_always_inline extern __always_inline
+#endif
+#endif