Alexandre Julliard : include: Remove winetest_strcmpW.

Alexandre Julliard julliard at winehq.org
Fri Nov 29 13:17:29 CST 2019


Module: wine
Branch: master
Commit: 4dc4bab93fd97a73567df595bdbb75be27b48964
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4dc4bab93fd97a73567df595bdbb75be27b48964

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov 29 13:58:05 2019 +0100

include: Remove winetest_strcmpW.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/wine/test.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/wine/test.h b/include/wine/test.h
index bfd893e8cd..aeb9a55dee 100644
--- a/include/wine/test.h
+++ b/include/wine/test.h
@@ -83,14 +83,6 @@ extern const char *wine_dbgstr_rect( const RECT *rect );
 static inline const char *wine_dbgstr_w( const WCHAR *s ) { return wine_dbgstr_wn( s, -1 ); }
 extern const char *wine_dbgstr_longlong( ULONGLONG ll );
 
-/* strcmpW is available for tests compiled under Wine, but not in standalone
- * builds under Windows, so we reimplement it under a different name. */
-static inline int winetest_strcmpW( const WCHAR *str1, const WCHAR *str2 )
-{
-    while (*str1 && (*str1 == *str2)) { str1++; str2++; }
-    return *str1 - *str2;
-}
-
 #ifdef STANDALONE
 #define START_TEST(name) \
   static void func_##name(void); \




More information about the wine-cvs mailing list