]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/newlib-tumbl.git/blobdiff - newlib/libc/stdio/vfprintf.c
* libc/include/sys/features.h (__GNUC_PREREQ): Define. Use
[fpga/lx-cpu1/newlib-tumbl.git] / newlib / libc / stdio / vfprintf.c
index 4b165e0213e8924faaa29defe6e29123f6abc041..6dfa9c8c38f932e0b2676dd5e9b4b065db3c2ffb 100644 (file)
@@ -333,8 +333,10 @@ int __sprint_r (struct _reent *, FILE *, register struct __suio *);
  * Helper function for `fprintf to unbuffered unix file': creates a
  * temporary buffer.  We only work on write-only files; this avoids
  * worries about ungetc buffers and so forth.
+ *
+ * Make sure to avoid inlining when optimizing for size.
  */
-static int
+_NOINLINE_STATIC int
 _DEFUN(__sbprintf, (rptr, fp, fmt, ap),
        struct _reent *rptr _AND
        register FILE *fp   _AND