Fixed extern declaration from pointer to array
[minix.git] / servers / vfs / glo.h
blob3a56399fedc4fa796371ca047f7af198d41008ec
1 /* EXTERN should be extern except for the table file */
2 #ifdef _TABLE
3 #undef EXTERN
4 #define EXTERN
5 #endif
7 /* File System global variables */
8 EXTERN struct fproc *fp; /* pointer to caller's fproc struct */
9 EXTERN int super_user; /* 1 if caller is super_user, else 0 */
10 EXTERN int susp_count; /* number of procs suspended on pipe */
11 EXTERN int nr_locks; /* number of locks currently in place */
12 EXTERN int reviving; /* number of pipe processes to be revived */
14 EXTERN Dev_t root_dev; /* device number of the root device */
15 EXTERN int ROOT_FS_E; /* kernel endpoint of the root FS proc */
16 EXTERN int last_login_fs_e; /* endpoint of the FS proc that logged in
17 before the corresponding mount request */
18 EXTERN u32_t system_hz; /* system clock frequency. */
20 /* The parameters of the call are kept here. */
21 EXTERN message m_in; /* the input message itself */
22 EXTERN message m_out; /* the output message used for reply */
23 EXTERN int who_p, who_e; /* caller's proc number, endpoint */
24 EXTERN int call_nr; /* system call number */
26 EXTERN message mount_m_in; /* the input message for a mount request */
27 EXTERN endpoint_t mount_fs_e; /* endpoint of file system to mount */
28 EXTERN char mount_label[LABEL_MAX]; /* label of file system to mount */
30 EXTERN char user_fullpath[PATH_MAX+1]; /* storage for user path name */
32 /* The following variables are used for returning results to the caller. */
33 EXTERN int err_code; /* temporary storage for error number */
35 /* Data initialized elsewhere. */
36 extern _PROTOTYPE (int (*call_vec[]), (void) ); /* sys call table */
37 extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */
38 extern char dot2[3]; /* meaning to search_dir: no access permission check. */