diff options
author | Roland McGrath <roland@gnu.org> | 1994-08-31 00:33:44 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-08-31 00:33:44 +0000 |
commit | 1525f973e1a0d34ebd3283bf4db5fab66202f3fe (patch) | |
tree | 05de5ca51628fcc158033d9280f45e4c46efb161 /misc | |
parent | 3e35649b0ebddf7be038fb03d6cf239ca34652c8 (diff) |
(EFTYPE): If not defined by errno.h, define this to EINVAL.
(fstabscan): Return void.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/fstab.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/fstab.c b/misc/fstab.c index 48e53521f1..c8b94e4c1b 100644 --- a/misc/fstab.c +++ b/misc/fstab.c @@ -42,14 +42,17 @@ static char sccsid[] = "@(#)fstab.c 8.1 (Berkeley) 6/4/93"; #include <string.h> #include <unistd.h> +#ifndef EFTYPE +#define EFTYPE EINVAL +#endif + static FILE *_fs_fp; static struct fstab _fs_fstab; static error __P((int)); -static fstabscan __P((void)); -static -fstabscan() +static void +fstabscan __P((void)) { register char *cp; #define MAXLINELENGTH 1024 |