This is the mail archive of the cygwin-patches@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

wchar prototype tweaks


Trivial prototype fixes. Wish I had the time to rig up a more complete
wchar implementation, sigh.

2000-05-06  Mumit Khan  <khan@xraylith.wisc.edu>

	* include/wchar.h (wcscmp, wcslen): Fix prototypes.

Index: include/wchar.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/wchar.h,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 wchar.h
--- wchar.h	2000/02/17 19:38:31	1.1.1.1
+++ wchar.h	2000/05/06 15:36:54
@@ -19,8 +19,8 @@ details. */
 
 __BEGIN_DECLS
 
-int wcscmp (wchar_t *__s1, wchar_t *__s2);
-int wcslen (wchar_t *__s1);
+int wcscmp (const wchar_t *__s1, const wchar_t *__s2);
+size_t wcslen (const wchar_t *__s1);
 
 __END_DECLS
 
Regards,
Mumit


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]