OSDN Git Service

* include/c_std/std_cwchar.h (wcsstr): Correct signature.
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2004 08:47:42 +0000 (08:47 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2004 08:47:42 +0000 (08:47 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84945 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_std/std_cwchar.h

index a7a056f..fd4ec5f 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-20  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/c_std/std_cwchar.h (wcsstr): Correct signature.
+
 2004-07-19  Benjamin Kosnik  <bkoz@redhat.com>
 
        PR libstdc++/15488
index e3b7cdd..d9e11e9 100644 (file)
@@ -223,7 +223,7 @@ namespace std
   using ::wcsstr;
 
   inline wchar_t*
-  wcsstr(wchar_t* __s1, wchar_t* __s2)
+  wcsstr(wchar_t* __s1, const wchar_t* __s2)
   { return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
 
   using ::wmemchr;