1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

dpnet: Remove unused function heap_strdupW.

This commit is contained in:
Alex Henrie 2022-11-16 22:08:55 -07:00 committed by Alexandre Julliard
parent e2d94b5cdf
commit f6f89bf67d

View File

@ -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