diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-27 23:45:37 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-27 23:45:37 +0300 |
commit | bad5c314f73192f1b11f634edb949b913fea437a (patch) | |
tree | f3a1b8ac89b8845ad1694b7304d9f694edec34fa /newlib/libc/stdlib | |
parent | 7cd48a9bc4c72107b7a4929bb8c8f99256288755 (diff) |
2008-11-27 Craig Howland <howland@LGSInnovations.com>
* libc/argz/argz_add.c: Added #include <argz.h> to get function
prototypes.
* libc/argz/argz_append.c: Ditto.
* libc/argz/argz_count.c: Ditto.
* libc/argz/argz_create.c: Ditto.
* libc/argz/argz_create_sep.c: Ditto.
* libc/argz/argz_delete.c: Ditto.
* libc/argz/argz_next.c: Ditto.
* libc/argz/argz_stringify.c: Ditto
* libc/stdlib/strtod.c: Added #include <stdlib.h> to get function
prototypes.
* libc/stdlib/wcstoul.c: Added #include <wchar.h> to get function
prototypes, corrected traditional usage comment.
* libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r-- | newlib/libc/stdlib/strtod.c | 1 | ||||
-rw-r--r-- | newlib/libc/stdlib/wcstoul.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/strtod.c b/newlib/libc/stdlib/strtod.c index 703fbce1d..fb4caf86f 100644 --- a/newlib/libc/stdlib/strtod.c +++ b/newlib/libc/stdlib/strtod.c @@ -112,6 +112,7 @@ THIS SOFTWARE. #include <_ansi.h> #include <errno.h> +#include <stdlib.h> #include <string.h> #include "mprec.h" #include "gdtoa.h" diff --git a/newlib/libc/stdlib/wcstoul.c b/newlib/libc/stdlib/wcstoul.c index 0a06e861c..44dfca399 100644 --- a/newlib/libc/stdlib/wcstoul.c +++ b/newlib/libc/stdlib/wcstoul.c @@ -16,7 +16,7 @@ ANSI_SYNOPSIS wchar_t **<[ptr]>, int <[base]>); TRAD_SYNOPSIS - #include <stdlib.h> + #include <wchar.h> unsigned long wcstoul(<[s]>, <[ptr]>, <[base]>) wchar_t *<[s]>; wchar_t **<[ptr]>; @@ -121,6 +121,7 @@ PORTABILITY #include <_ansi.h> #include <limits.h> #include <wctype.h> +#include <wchar.h> #include <errno.h> #include <stdlib.h> #include <reent.h> |