diff options
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r-- | Alc/helpers.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 41e4fdc9..000b9576 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -429,22 +429,6 @@ void *GetSymbol(void *handle, const char *name) return ret; } -WCHAR *strdupW(const WCHAR *str) -{ - const WCHAR *n; - WCHAR *ret; - size_t len; - - n = str; - while(*n) n++; - len = n - str; - - ret = calloc(sizeof(WCHAR), len+1); - if(ret != NULL) - memcpy(ret, str, sizeof(WCHAR)*len); - return ret; -} - FILE *al_fopen(const char *fname, const char *mode) { WCHAR *wname=NULL, *wmode=NULL; |