Fix warnings in libmthread

This commit is contained in:
Erik van der Kouwe 2010-10-04 20:19:40 +00:00
parent c521f2a138
commit 591201c1a0

View File

@ -1,6 +1,7 @@
#define ALLOCATE #define ALLOCATE
#include <errno.h> #include <errno.h>
#include <minix/mthread.h> #include <minix/mthread.h>
#include <string.h>
#include "global.h" #include "global.h"
#include "proto.h" #include "proto.h"
@ -275,7 +276,6 @@ PUBLIC void mthread_init(void)
*/ */
if (!initialized) { if (!initialized) {
int i;
no_threads = 0; no_threads = 0;
used_threads = 0; used_threads = 0;
running_main_thread = 1;/* mthread_init can only be called from the running_main_thread = 1;/* mthread_init can only be called from the