Drop main() prototype. Syncs with NetBSD-8
[minix.git] / minix / servers / pm / glo.h
blob39720a57396b82ba15316348d983ec5837b04e39
1 /* EXTERN should be extern except in table.c */
2 #ifdef _TABLE
3 #undef EXTERN
4 #define EXTERN
5 #endif
7 /* Global variables. */
8 EXTERN struct mproc *mp; /* ptr to 'mproc' slot of current process */
9 EXTERN int procs_in_use; /* how many processes are marked as IN_USE */
10 EXTERN char monitor_params[MULTIBOOT_PARAM_BUF_SIZE];
12 /* Misc.c */
13 extern struct utsname uts_val; /* uname info */
15 /* The parameters of the call are kept here. */
16 EXTERN message m_in; /* the incoming message itself is kept here. */
17 EXTERN int who_p, who_e; /* caller's proc number, endpoint */
18 EXTERN int call_nr; /* system call number */
20 extern int (* const call_vec[])(void);
21 EXTERN sigset_t core_sset; /* which signals cause core images */
22 EXTERN sigset_t ign_sset; /* which signals are by default ignored */
23 EXTERN sigset_t noign_sset; /* which signals cannot be ignored */
25 EXTERN u32_t system_hz; /* System clock frequency. */
26 EXTERN int abort_flag;
28 EXTERN struct machine machine; /* machine info */
29 #ifdef CONFIG_SMP
30 EXTERN int cpu_proc[CONFIG_MAX_CPUS];
31 #endif