Fix warnings in libmthread
This commit is contained in:
parent
c521f2a138
commit
591201c1a0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user