Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread

patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
This commit is contained in:
timeless@mac.com
2002-09-03 14:51:05 +00:00
parent 2cdb75d804
commit a176bd1a37
13 changed files with 39 additions and 39 deletions

View File

@@ -489,7 +489,7 @@ NS_ErrorAccordingToNSPR()
}
////////////////////////////////////////////////////////////////////////////////
// This wrapper around PR_CurrentThread is simply here for debug builds so
// This wrapper around PR_GetCurrentThread is simply here for debug builds so
// that clients linking with xpcom don't also have to link with nspr explicitly.
#if defined(NS_DEBUG) && defined(NS_MT_SUPPORTED)
@@ -503,7 +503,7 @@ extern "C" NS_COM void NS_CheckThreadSafe(void* owningThread, const char* msg);
void*
NS_CurrentThread(void)
{
void* th = PR_CurrentThread();
void* th = PR_GetCurrentThread();
return th;
}