diff options
author | wtc <devnull@localhost> | 1998-04-13 22:49:10 +0000 |
---|---|---|
committer | wtc <devnull@localhost> | 1998-04-13 22:49:10 +0000 |
commit | de97382596707e6d4b855357f156c080a1a6e950 (patch) | |
tree | d7aa85411fa5aa8a5d028f38a4643f45deeaebe4 | |
parent | a5df66de3a3ff6a2d759cff56586d0db86c79c6f (diff) | |
download | nspr-hg-de97382596707e6d4b855357f156c080a1a6e950.tar.gz |
Got rid of compiler warnings. We acknoweldge the help of Nathan
Torkington <gnat@frii.com>.
-rw-r--r-- | pr/src/threads/combined/prucpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pr/src/threads/combined/prucpu.c b/pr/src/threads/combined/prucpu.c index b0e4f5fd..d528a2c6 100644 --- a/pr/src/threads/combined/prucpu.c +++ b/pr/src/threads/combined/prucpu.c @@ -161,6 +161,7 @@ static _PRCPU *_PR_CreateCPU(PRThread *thread, PRBool needQueue) return cpu; } +#if !defined(_PR_GLOBAL_THREADS_ONLY) && !defined(_PR_LOCAL_THREADS_ONLY) /* ** This code is used during a cpu's initial creation. */ @@ -192,6 +193,7 @@ static void _PR_RunCPU(void *unused) _PR_MD_SWITCH_CONTEXT(me); } } +#endif static void PR_CALLBACK _PR_CPU_Idle(void *_cpu) { |