aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 000b9576..064e03f5 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -429,26 +429,6 @@ void *GetSymbol(void *handle, const char *name)
return ret;
}
-FILE *al_fopen(const char *fname, const char *mode)
-{
- WCHAR *wname=NULL, *wmode=NULL;
- FILE *file = NULL;
-
- wname = FromUTF8(fname);
- wmode = FromUTF8(mode);
- if(!wname)
- ERR("Failed to convert UTF-8 filename: \"%s\"\n", fname);
- else if(!wmode)
- ERR("Failed to convert UTF-8 mode: \"%s\"\n", mode);
- else
- file = _wfopen(wname, wmode);
-
- free(wname);
- free(wmode);
-
- return file;
-}
-
void al_print(const char *type, const char *func, const char *fmt, ...)
{