aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/wcstoul.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-11-27 20:45:37 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-11-27 20:45:37 +0000
commitbad5c314f73192f1b11f634edb949b913fea437a (patch)
treef3a1b8ac89b8845ad1694b7304d9f694edec34fa /newlib/libc/stdlib/wcstoul.c
parent7cd48a9bc4c72107b7a4929bb8c8f99256288755 (diff)
downloadnewlib-bad5c314f73192f1b11f634edb949b913fea437a.zip
newlib-bad5c314f73192f1b11f634edb949b913fea437a.tar.gz
newlib-bad5c314f73192f1b11f634edb949b913fea437a.tar.bz2
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/wcstoul.c')
-rw-r--r--newlib/libc/stdlib/wcstoul.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/wcstoul.c b/newlib/libc/stdlib/wcstoul.c
index 0a06e86..44dfca3 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>