From 822ed7f80687ba1060f3620f20878642a2b89e78 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 31 Jul 2003 04:52:36 +0000 Subject: gc.h (GC_CreateThread): Declare with WINAPI attribute. * include/gc.h (GC_CreateThread): Declare with WINAPI attribute. * win32_threads.c (GC_CreateThread): Make definitions consistent with declaration. Cast &thread_table[i].handle to PHANDLE in call to DuplicateHandle (thread_start): Declare as static. From-SVN: r69990 --- boehm-gc/include/gc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boehm-gc/include/gc.h') diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index d49cd9d..4444e99 100644 --- a/boehm-gc/include/gc.h +++ b/boehm-gc/include/gc.h @@ -895,7 +895,7 @@ extern void GC_thr_init(); /* Needed for Solaris/X86 */ * and does then use DllMain to keep track of thread creations. But new code * should be built to call GC_CreateThread. */ - GC_API HANDLE GC_CreateThread( + GC_API HANDLE WINAPI GC_CreateThread( LPSECURITY_ATTRIBUTES lpThreadAttributes, DWORD dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId ); -- cgit v1.1