summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
Diffstat (limited to 'exec')
-rw-r--r--exec/main.c5
-rw-r--r--exec/priv.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/exec/main.c b/exec/main.c
index 30b20da3..84745991 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -42,10 +42,15 @@ int trivfs_allow_open = 0;
struct port_class *trivfs_protid_class;
struct port_class *trivfs_control_class;
+/* Where to put the service ports. */
+struct port_bucket *port_bucket;
+struct port_class *execboot_portclass;
+
struct trivfs_control *fsys;
char **save_argv;
mach_port_t opt_device_master;
+
#include "exec_S.h"
diff --git a/exec/priv.h b/exec/priv.h
index e84d8150..07df6e8c 100644
--- a/exec/priv.h
+++ b/exec/priv.h
@@ -57,8 +57,8 @@ typedef struct bootinfo *bootinfo_t;
/* Where to put the service ports. */
-struct port_bucket *port_bucket;
-struct port_class *execboot_portclass;
+extern struct port_bucket *port_bucket;
+extern struct port_class *execboot_portclass;
extern mach_port_t procserver; /* Our proc port. */