diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-03-07 19:45:04 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-03-07 19:45:04 +0300 |
commit | 0382d26727416adf62287dfc0ce66aa9a38db95b (patch) | |
tree | 70e228e28769d1d2eea4aaef0d0094749c78c3bd /newlib/libc/stdio | |
parent | 360b05b451fbbc2a2768fa84d86a78ec9002979a (diff) |
2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
this macro completely instead of referring to CHECK_STD_INIT which
is only found in libc/stdio/local.h.
* libc/stdio/dprintf.c: Add include of local.h.
* libc/stdio/vdprintf.c: Ditto.
* libc/stdio/vdiprintf.c: Ditto.
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r-- | newlib/libc/stdio/dprintf.c | 1 | ||||
-rw-r--r-- | newlib/libc/stdio/vdiprintf.c | 1 | ||||
-rw-r--r-- | newlib/libc/stdio/vdprintf.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/stdio/dprintf.c b/newlib/libc/stdio/dprintf.c index 53bb50bfa..b0eb19192 100644 --- a/newlib/libc/stdio/dprintf.c +++ b/newlib/libc/stdio/dprintf.c @@ -45,6 +45,7 @@ Supporting OS subroutines required: <<sbrk>>, <<write>>. #include <stdio.h> #include <unistd.h> #include <stdarg.h> +#include "local.h" int _DEFUN(_dprintf_r, (ptr, fd, format), diff --git a/newlib/libc/stdio/vdiprintf.c b/newlib/libc/stdio/vdiprintf.c index b9b94735c..51bdb000e 100644 --- a/newlib/libc/stdio/vdiprintf.c +++ b/newlib/libc/stdio/vdiprintf.c @@ -10,6 +10,7 @@ #include <stdlib.h> #include <unistd.h> #include <stdarg.h> +#include "local.h" int _DEFUN(_vdiprintf_r, (ptr, fd, format, ap), diff --git a/newlib/libc/stdio/vdprintf.c b/newlib/libc/stdio/vdprintf.c index 8a20235ef..bfb19c95b 100644 --- a/newlib/libc/stdio/vdprintf.c +++ b/newlib/libc/stdio/vdprintf.c @@ -10,6 +10,7 @@ #include <stdlib.h> #include <unistd.h> #include <stdarg.h> +#include "local.h" int _DEFUN(_vdprintf_r, (ptr, fd, format, ap), |