Skip to content
Snippets Groups Projects
Commit d6004f4e authored by crowder@fiverocks.com's avatar crowder@fiverocks.com
Browse files

Bug 357016: follow-up to fix another void* nit, patch by Edward Lee edilee@mozilla.com, r=crowder

parent 39d965ec
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ static PRUintn threadTPIndex; ...@@ -77,7 +77,7 @@ static PRUintn threadTPIndex;
static JSBool tpIndexInited = JS_FALSE; static JSBool tpIndexInited = JS_FALSE;
JSBool JSBool
js_InitThreadPrivateIndex(void *ptr) js_InitThreadPrivateIndex(void (JS_DLL_CALLBACK *ptr)(void *))
{ {
PRStatus status; PRStatus status;
......
...@@ -844,7 +844,7 @@ class JSAutoTempValueRooter ...@@ -844,7 +844,7 @@ class JSAutoTempValueRooter
* success. * success.
*/ */
extern JSBool extern JSBool
js_InitThreadPrivateIndex(void *ptr); js_InitThreadPrivateIndex(void (JS_DLL_CALLBACK *ptr)(void *));
/* /*
* Common subroutine of JS_SetVersion and js_SetVersion, to update per-context * Common subroutine of JS_SetVersion and js_SetVersion, to update per-context
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment