diff options
author | Eric Blake <eblake@redhat.com> | 2007-04-10 12:49:18 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2007-04-10 12:49:18 +0000 |
commit | 503e2d1c763a07f05983c34f6f612267d7574dac (patch) | |
tree | 5defa26930776bc0795e28c9b5d007d00455697b /newlib/libc/include/stdio.h | |
parent | 17c0c97d7cac46d4983158367e843945c7faca56 (diff) | |
download | cygnal-503e2d1c763a07f05983c34f6f612267d7574dac.tar.gz cygnal-503e2d1c763a07f05983c34f6f612267d7574dac.tar.bz2 cygnal-503e2d1c763a07f05983c34f6f612267d7574dac.zip |
* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
CFLAGS=-O0.
Diffstat (limited to 'newlib/libc/include/stdio.h')
-rw-r--r-- | newlib/libc/include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 1b50b34df..03334fe12 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -506,7 +506,7 @@ FILE *_EXFUN(funopen,(const _PTR _cookie, 'extern inline'. */ #if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) /* We're using GCC, but without the new C99-compatible behaviour. */ -#define _ELIDABLE_INLINE extern __inline__ +#define _ELIDABLE_INLINE extern __inline__ _ATTRIBUTE ((__always_inline__)) #else /* We're using GCC in C99 mode, or an unknown compiler which we just have to hope obeys the C99 semantics of inline. */ |