aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-10 04:27:10 -0800
committerChris Robinson <[email protected]>2018-11-10 04:27:10 -0800
commitdc31969b04395db71d8162587f55cf81e7e69aac (patch)
tree7c4d07e655dc4fb4f6b19b477207b196799ce649 /Alc/helpers.c
parent58eb0e754d19237ca66d705834081a236e307484 (diff)
Get rid of the last few al_fopen calls
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, ...)
{