Module: wine Branch: master Commit: f6f89bf67d6327b4e5741d38c706b8aade8ad898 URL: https://gitlab.winehq.org/wine/wine/-/commit/f6f89bf67d6327b4e5741d38c706b8a...
Author: Alex Henrie alexhenrie24@gmail.com Date: Wed Nov 16 22:08:55 2022 -0700
dpnet: Remove unused function heap_strdupW.
---
dlls/dpnet/dpnet_private.h | 9 --------- 1 file changed, 9 deletions(-)
diff --git a/dlls/dpnet/dpnet_private.h b/dlls/dpnet/dpnet_private.h index 9458a5123aa..2e36b9ffeee 100644 --- a/dlls/dpnet/dpnet_private.h +++ b/dlls/dpnet/dpnet_private.h @@ -21,7 +21,6 @@ #ifndef __WINE_DPNET_PRIVATE_H #define __WINE_DPNET_PRIVATE_H
-#include "wine/heap.h" #include <wine/list.h> #include "winsock2.h"
@@ -150,12 +149,4 @@ typedef struct { #define FE(x) { x, #x } #define GE(x) { &x, #x }
-static inline WCHAR *heap_strdupW( const WCHAR *src ) -{ - WCHAR *dst; - if (!src) return NULL; - if ((dst = heap_alloc( (lstrlenW( src ) + 1) * sizeof(WCHAR) ))) lstrcpyW( dst, src ); - return dst; -} - #endif