mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
dpnet: Remove unused function heap_strdupW.
This commit is contained in:
parent
e2d94b5cdf
commit
f6f89bf67d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue