[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r1824 - in /trunk/localedef: ChangeLog.eglibc include/sys/cdefs.h



Author: kraj
Date: Tue Mar 27 19:36:41 2007
New Revision: 1824

Log:
Define __extern_inline, __extern_always_inline.

Modified:
    trunk/localedef/ChangeLog.eglibc
    trunk/localedef/include/sys/cdefs.h

Modified: trunk/localedef/ChangeLog.eglibc
==============================================================================
--- trunk/localedef/ChangeLog.eglibc (original)
+++ trunk/localedef/ChangeLog.eglibc Tue Mar 27 19:36:41 2007
@@ -1,7 +1,12 @@
+2007-03-27  Khem Raj  <kraj@xxxxxxxxxx>
+
+	* include/sys/cdefs.h: (__extern_inline, __extern_always_inline):
+	Define.
+
 2006-12-26  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>
 
-        * 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@xxxxxxxxxxxxxxxx>
 

Modified: trunk/localedef/include/sys/cdefs.h
==============================================================================
--- trunk/localedef/include/sys/cdefs.h (original)
+++ trunk/localedef/include/sys/cdefs.h Tue Mar 27 19:36:41 2007
@@ -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