diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-05 07:58:42 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-05 07:58:42 +0000 |
commit | 0bd3e1f2ac4acf59d3be3b9c32f704e3a3dfd662 (patch) | |
tree | 5c469551955572b457b97be4208568c36cf4a31e /usr.bin/rdist | |
parent | 784fb4e3483269b305e48e7d0b39177ecddb3351 (diff) |
Assume BSD44: statfs()
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r-- | usr.bin/rdist/filesys.h | 27 | ||||
-rw-r--r-- | usr.bin/rdist/os-openbsd.h | 7 |
2 files changed, 2 insertions, 32 deletions
diff --git a/usr.bin/rdist/filesys.h b/usr.bin/rdist/filesys.h index 59ff2c00cfc..a5e24617d59 100644 --- a/usr.bin/rdist/filesys.h +++ b/usr.bin/rdist/filesys.h @@ -1,4 +1,4 @@ -/* $OpenBSD: filesys.h,v 1.2 2003/06/03 02:56:14 millert Exp $ */ +/* $OpenBSD: filesys.h,v 1.3 2014/07/05 07:58:41 guenther Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -90,31 +90,6 @@ #endif /* NCR */ /* - * Stat Filesystem - */ -#if defined(STATFS_TYPE) -# if defined(ultrix) - typedef struct fs_data statfs_t; -# define f_bavail fd_req.bfreen -# define f_bsize fd_req.bsize -# define f_ffree fd_req.gfree -# elif defined(_AIX) || STATFS_TYPE == STATFS_SYSV -# include <sys/statfs.h> - typedef struct statfs statfs_t; -# define f_bavail f_bfree -# elif defined(SVR4) -# include <sys/statvfs.h> - typedef struct statvfs statfs_t; -# define statfs(mp,sb) statvfs(mp,sb) -# elif STATFS_TYPE == STATFS_44BSD || STATFS_TYPE == STATFS_OSF1 - typedef struct statfs statfs_t; -# else -# include <sys/vfs.h> - typedef struct statfs statfs_t; -# endif -#endif /* STATFS_TYPE */ - -/* * Mount Entry definetions */ #ifndef METYPE_OTHER diff --git a/usr.bin/rdist/os-openbsd.h b/usr.bin/rdist/os-openbsd.h index 5ddef01ffa5..b3e0109c592 100644 --- a/usr.bin/rdist/os-openbsd.h +++ b/usr.bin/rdist/os-openbsd.h @@ -29,7 +29,7 @@ */ /* - * $OpenBSD: os-openbsd.h,v 1.20 2014/07/05 07:25:27 guenther Exp $ + * $OpenBSD: os-openbsd.h,v 1.21 2014/07/05 07:58:41 guenther Exp $ */ /* @@ -56,11 +56,6 @@ #define FSI_TYPE FSI_GETFSSTAT /* - * Select the type of statfs() system call (if any). - */ -#define STATFS_TYPE STATFS_44BSD - -/* * Use f_fstypename in struct statfs. */ #define HAVE_FSTYPENAME 1 |