diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_accnt.c | 2 | ||||
-rw-r--r-- | sys/kern/kern_spawn.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_accnt.c b/sys/kern/kern_accnt.c index 5ef8150..3b90d9f 100644 --- a/sys/kern/kern_accnt.c +++ b/sys/kern/kern_accnt.c @@ -42,7 +42,7 @@ void sched_accnt_init(void); static struct ctlops sched_stat_ctl; -extern volatile size_t g_nthreads; +volatile size_t g_nthreads; static int ctl_stat_read(struct ctlfs_dev *cdp, struct sio_txn *sio) diff --git a/sys/kern/kern_spawn.c b/sys/kern/kern_spawn.c index 37c3120..75ebaa7 100644 --- a/sys/kern/kern_spawn.c +++ b/sys/kern/kern_spawn.c @@ -49,7 +49,7 @@ #define ARGVP_MAX (ARG_MAX / sizeof(void *)) static size_t next_pid = 1; -volatile size_t g_nthreads = 0; +extern volatile size_t g_nthreads; /* * TODO: envp |