fix build error - bug #6
authormotse <none@none>
Wed, 20 Jul 2005 19:16:17 +0000 (19:16 +0000)
committermotse <none@none>
Wed, 20 Jul 2005 19:16:17 +0000 (19:16 +0000)
src/threads/native/threads.c
src/threads/native/threads.h

index 3678dc65c673c0b4463e5795d0de1ff863f8c7c3..8325da39311b93054d533cdf8450ef6544e08738 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: threads.c 2899 2005-07-04 20:41:28Z twisti $
+   $Id: threads.c 3087 2005-07-20 19:16:17Z motse $
 
 */
 
@@ -144,7 +144,6 @@ static void setPriority(pthread_t tid, int priority)
 #include "machine-instr.h"
 
 static struct avl_table *criticaltree;
-static threadobject *mainthreadobj;
 
 #ifndef HAVE___THREAD
 pthread_key_t tkey_threadinfo;
index 275c1f85f460c90359629b314d61f85b4dd9865f..4e3e19c0f6867482c10ba4c5daca4a4f8d917137 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: threads.h 3062 2005-07-19 10:03:00Z motse $
+   $Id: threads.h 3087 2005-07-20 19:16:17Z motse $
 
 */
 
@@ -205,7 +205,7 @@ void thread_registercritical(threadcritnode *);
 u1 *thread_checkcritical(u1*);
 
 extern volatile int stopworldwhere;
-extern threadobject *mainthreadobj;
+static threadobject *mainthreadobj;
 
 
 void cast_stopworld();