summaryrefslogtreecommitdiff
path: root/pr/src/threads/prcthr.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/src/threads/prcthr.c')
-rw-r--r--pr/src/threads/prcthr.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/pr/src/threads/prcthr.c b/pr/src/threads/prcthr.c
index 1e2f469c..7c3e6273 100644
--- a/pr/src/threads/prcthr.c
+++ b/pr/src/threads/prcthr.c
@@ -304,11 +304,6 @@ PR_IMPLEMENT(PRInt32) PR_GetThreadAffinityMask(PRThread *thread, PRUint32 *mask)
#ifdef HAVE_THREAD_AFFINITY
return _PR_MD_GETTHREADAFFINITYMASK(thread, mask);
#else
-
-#if defined(XP_MAC)
-#pragma unused (thread, mask)
-#endif
-
return 0;
#endif
}
@@ -322,11 +317,6 @@ PR_IMPLEMENT(PRInt32) PR_SetThreadAffinityMask(PRThread *thread, PRUint32 mask )
return 0;
#endif
#else
-
-#if defined(XP_MAC)
-#pragma unused (thread, mask)
-#endif
-
return 0;
#endif
}
@@ -354,10 +344,6 @@ PR_IMPLEMENT(PRInt32) PR_SetCPUAffinityMask(PRUint32 mask)
}
#endif
-#if defined(XP_MAC)
-#pragma unused (mask)
-#endif
-
return 0;
}
@@ -397,9 +383,6 @@ PR_IMPLEMENT(PRThread*) PR_CreateThreadBound(PRThreadType type,
PR_IMPLEMENT(PRThread*) PR_AttachThreadGCAble(
PRThreadType type, PRThreadPriority priority, PRThreadStack *stack)
{
-#ifdef XP_MAC
-#pragma unused (type, priority, stack)
-#endif
/* $$$$ not sure how to finese this one */
PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
return NULL;
@@ -423,9 +406,6 @@ PR_IMPLEMENT(void) PR_ClearThreadGCAble()
PR_IMPLEMENT(PRThreadScope) PR_GetThreadScope(const PRThread *thread)
{
-#ifdef XP_MAC
-#pragma unused( thread )
-#endif
if (!_pr_initialized) _PR_ImplicitInitialization();
if (_PR_IS_NATIVE_THREAD(thread)) {