Commit f6f89bf6 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

dpnet: Remove unused function heap_strdupW.

parent e2d94b5c
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment