diff options
Diffstat (limited to 'mount/sundries.h')
-rw-r--r-- | mount/sundries.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mount/sundries.h b/mount/sundries.h index 0c96f865b..cad87a1c8 100644 --- a/mount/sundries.h +++ b/mount/sundries.h @@ -1,6 +1,6 @@ /* + * sundries.h * Support function prototypes. Functions are in sundries.c. - * sundries.h,v 1.1.1.1 1993/11/18 08:40:51 jrs Exp */ #include <sys/types.h> @@ -9,12 +9,13 @@ #include <signal.h> #include <stdarg.h> #include <stdlib.h> -#ifndef bool_t +#if !defined(bool_t) && !defined(__GLIBC__) #include <rpc/types.h> #endif extern int mount_quiet; extern int verbose; +extern int sloppy; #define streq(s, t) (strcmp ((s), (t)) == 0) @@ -31,9 +32,6 @@ typedef struct string_list string_list cons (char *a, const string_list); -/* Quiet compilation with -Wmissing-prototypes. */ -int main (int argc, char *argv[]); - /* Functions in sundries.c that are used in mount.c and umount.c */ void block_signals (int how); char *canonicalize (const char *path); @@ -61,7 +59,7 @@ void die (int errcode, const char *fmt, ...); #ifdef HAVE_NFS int nfsmount (const char *spec, const char *node, int *flags, - char **orig_opts, char **opt_args); + char **orig_opts, char **opt_args, int running_bg); #endif /* exit status - bits below are ORed */ @@ -72,3 +70,5 @@ int nfsmount (const char *spec, const char *node, int *flags, #define EX_FILEIO 16 /* problems writing, locking, ... mtab/fstab */ #define EX_FAIL 32 /* mount failure */ #define EX_SOMEOK 64 /* some mount succeeded */ + +#define EX_BG 256 /* retry in background (internal only) */ |