aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 79dac143..e1e94f10 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -311,17 +311,6 @@ void RestoreFPUMode(const FPUCtl *ctl)
#ifdef _WIN32
-void althread_once(althread_once_t *once, void (*callback)(void))
-{
- LONG ret;
- while((ret=InterlockedExchange(once, 1)) == 1)
- althrd_yield();
- if(ret == 0)
- callback();
- InterlockedExchange(once, 2);
-}
-
-
static WCHAR *FromUTF8(const char *str)
{
WCHAR *out = NULL;