Drop main() prototype. Syncs with NetBSD-8
[minix.git] / minix / lib / libpuffs / glo.h
blobbc39b8120f2953687c6804e66b01863ba5788338
1 /* EXTERN should be extern except for the table file */
3 #ifndef LIBPUFFS_GLO_H
4 #define LIBPUFFS_GLO_H
6 #ifdef _TABLE
7 #undef EXTERN
8 #define EXTERN
9 #endif
11 #include <fs/puffs/puffs_msgif.h>
13 EXTERN struct puffs_usermount *global_pu;
15 EXTERN int is_readonly_fs;
16 EXTERN int buildpath;
18 /* Sometimes user can call exit. If we received a message,
19 * report a failure to VFS before exiting. Especially on mount
20 * and unmount.
23 /* The following variables are used for returning results to the caller. */
24 EXTERN int err_code; /* temporary storage for error number */
26 EXTERN struct puffs_kcred global_kcred;
28 EXTERN char fs_name[PATH_MAX+1];
30 EXTERN int mounted;
31 EXTERN int exitsignaled;
33 extern struct fsdriver puffs_table;
35 #endif /* LIBPUFFS_GLO_H */