Commit 0f7307b9 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wiaservc: Remove unused function wiaservc_strdup.

This function has not been used since commit ee9698c5.
parent 9aaf0468
...@@ -36,13 +36,4 @@ typedef struct ...@@ -36,13 +36,4 @@ typedef struct
HRESULT wiadevmgr_Constructor(IWiaDevMgr **ppObj) DECLSPEC_HIDDEN; HRESULT wiadevmgr_Constructor(IWiaDevMgr **ppObj) DECLSPEC_HIDDEN;
/* Little helper functions */
static inline char *
wiaservc_strdup(const char *s)
{
size_t n = strlen(s) + 1;
char *d = HeapAlloc(GetProcessHeap(), 0, n);
return d ? memcpy(d, s, n) : NULL;
}
#endif /* __WIASERVC_PRIVATE__ */ #endif /* __WIASERVC_PRIVATE__ */
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