Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-08-14 12:33:00 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-08-14 12:33:00 +0400
commitf703e6aa089c8a4490c86501e466e523b206522d (patch)
tree20c560d8a08ebfede3da6d3b54a63557692d3e61 /newlib/libc/stdio
parent12a8027532af974782e5dbdd65afcbe664cf2fc6 (diff)
* libc/stdio/findfp.c (std): Don't inline when optimizing for code size.
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r--newlib/libc/stdio/findfp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/stdio/findfp.c b/newlib/libc/stdio/findfp.c
index f5a35a162..9ee43b53d 100644
--- a/newlib/libc/stdio/findfp.c
+++ b/newlib/libc/stdio/findfp.c
@@ -35,7 +35,11 @@ const struct __sFILE_fake __sf_fake_stderr =
{_NULL, 0, 0, 0, 0, {_NULL, 0}, 0, _NULL};
#endif
+#if (defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED))
+_NOINLINE_STATIC _VOID
+#else
static _VOID
+#endif
_DEFUN(std, (ptr, flags, file, data),
FILE *ptr _AND
int flags _AND