From 4c950890bb99b1b7c7e47340bfd95c7d636e2645 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 6 Aug 2011 20:09:11 -0700 Subject: [PATCH] Rename the primary buffer's ThreadProc --- primary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/primary.c b/primary.c index 340f760fc67..dd512a750ca 100644 --- a/primary.c +++ b/primary.c @@ -128,7 +128,7 @@ static void trigger_stop_notifies(DS8Buffer *buf) } } -static DWORD CALLBACK ThreadProc(void *dwUser) +static DWORD CALLBACK DS8Primary_thread(void *dwUser) { DS8Primary *prim = (DS8Primary*)dwUser; DWORD i, active_notifies; @@ -383,7 +383,7 @@ HRESULT DS8Primary_PreInit(DS8Primary *This, DS8Impl *parent) if(!This->buffers || !This->notifies) goto fail; - This->thread_hdl = CreateThread(NULL, 0, ThreadProc, This, 0, &This->thread_id); + This->thread_hdl = CreateThread(NULL, 0, DS8Primary_thread, This, 0, &This->thread_id); if(This->thread_hdl == NULL) goto fail; -- 2.11.4.GIT