* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
CFLAGS=-O0.
This commit is contained in:
parent
17c0c97d7c
commit
503e2d1c76
|
@ -1,3 +1,8 @@
|
||||||
|
2007-04-10 Eric Blake <ebb9@byu.net>
|
||||||
|
|
||||||
|
* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
|
||||||
|
CFLAGS=-O0.
|
||||||
|
|
||||||
2007-04-09 Eric Blake <ebb9@byu.net>
|
2007-04-09 Eric Blake <ebb9@byu.net>
|
||||||
|
|
||||||
* libc/include/stdio.h: Add gcc format attributes to printf and
|
* libc/include/stdio.h: Add gcc format attributes to printf and
|
||||||
|
|
|
@ -506,7 +506,7 @@ FILE *_EXFUN(funopen,(const _PTR _cookie,
|
||||||
'extern inline'. */
|
'extern inline'. */
|
||||||
#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
|
#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
|
||||||
/* We're using GCC, but without the new C99-compatible behaviour. */
|
/* 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
|
#else
|
||||||
/* We're using GCC in C99 mode, or an unknown compiler which
|
/* We're using GCC in C99 mode, or an unknown compiler which
|
||||||
we just have to hope obeys the C99 semantics of inline. */
|
we just have to hope obeys the C99 semantics of inline. */
|
||||||
|
|
Loading…
Reference in New Issue