summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlmuHS <liberamenso10000@gmail.com>2019-03-25 00:40:13 +0100
committerAlmuHS <liberamenso10000@gmail.com>2019-03-25 00:40:13 +0100
commit5ebc2e8a64559946f2aeec3675de653f35a8fc96 (patch)
tree46fad13ac26fdb5fc604046b88abf02343a13bec /include
parentc81351a180feb6b059282d2ee46bb7cdad0592c0 (diff)
set ncpu as extern
Diffstat (limited to 'include')
-rw-r--r--include/mach/machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mach/machine.h b/include/mach/machine.h
index 44ee948e..87b719a7 100644
--- a/include/mach/machine.h
+++ b/include/mach/machine.h
@@ -45,7 +45,7 @@
* possible cpu in the system.
*/
-int ncpu;
+extern int ncpu;
struct machine_info {
integer_t major_version; /* kernel major version id */