diff options
author | kraj <kraj@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-03-28 02:36:41 +0000 |
---|---|---|
committer | kraj <kraj@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-03-28 02:36:41 +0000 |
commit | ea0041948ac6462ab67aca23beb21cec29bc433f (patch) | |
tree | 7c0df456a0aacce990f8492a8b06e6523b6cb131 /localedef | |
parent | b004efa863f915e541eff91a1f1d239aba4d85fc (diff) | |
download | eglibc2-ea0041948ac6462ab67aca23beb21cec29bc433f.tar.gz |
Define __extern_inline, __extern_always_inline.
git-svn-id: svn://svn.eglibc.org/trunk@1824 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'localedef')
-rw-r--r-- | localedef/ChangeLog.eglibc | 9 | ||||
-rw-r--r-- | localedef/include/sys/cdefs.h | 11 |
2 files changed, 18 insertions, 2 deletions
diff --git a/localedef/ChangeLog.eglibc b/localedef/ChangeLog.eglibc index 26ec79ae2..4b2c81df4 100644 --- a/localedef/ChangeLog.eglibc +++ b/localedef/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/localedef/include/sys/cdefs.h b/localedef/include/sys/cdefs.h index 4225e9b91..0cae14e7c 100644 --- a/localedef/include/sys/cdefs.h +++ b/localedef/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 |