diff options
author | Mumit Khan <khan@@xraylith.wisc.edu> | 2000-05-06 21:00:53 +0400 |
---|---|---|
committer | Mumit Khan <khan@@xraylith.wisc.edu> | 2000-05-06 21:00:53 +0400 |
commit | 60c83af2ad370e1db6530feff51804ff4ae708fd (patch) | |
tree | 1c50e890f33a1fa57dab68c28d6d208a03decb23 /winsup/cygwin/syscalls.cc | |
parent | 2a1064aad67e918eb5fe68e4fe8cb137e4607f2a (diff) |
2000-05-06 Mumit Khan <khan@xraylith.wisc.edu>
* include/wchar.h (wcscmp, wcslen): Fix prototypes.
* syscalls.cc (wcslen, wcscmp): Adjust.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 51b37b457..c1d7071f2 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1836,7 +1836,7 @@ putw (int w, FILE *fp) extern "C" int -wcscmp (wchar_t *s1, wchar_t *s2) +wcscmp (const wchar_t *s1, const wchar_t *s2) { while (*s1 && *s1 == *s2) { @@ -1848,8 +1848,8 @@ wcscmp (wchar_t *s1, wchar_t *s2) } extern "C" -int -wcslen (wchar_t *s1) +size_t +wcslen (const wchar_t *s1) { int l = 0; while (s1[l]) |