From 63bc2b64ea2c55d7c92dac87af02df0de2bb9c54 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 12 May 1999 07:55:42 +0000 Subject: [PATCH] $ brucify sys/stat.h _devt should be __dev_t $ --- sys/sys/stat.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/sys/stat.h b/sys/sys/stat.h index 1a2ab96b2492..52a1a416601b 100644 --- a/sys/sys/stat.h +++ b/sys/sys/stat.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)stat.h 8.12 (Berkeley) 6/16/95 - * $Id: stat.h,v 1.15 1998/05/11 03:55:13 dyson Exp $ + * $Id: stat.h,v 1.16 1999/05/11 19:54:58 phk Exp $ */ #ifndef _SYS_STAT_H_ @@ -51,9 +51,9 @@ #endif #ifdef KERNEL -#define __devt udev_t +#define __dev_t udev_t #else -#define __devt dev_t +#define __dev_t dev_t #endif #ifndef _POSIX_SOURCE @@ -77,13 +77,13 @@ struct ostat { #endif /* !_POSIX_SOURCE */ struct stat { - __devt st_dev; /* inode's device */ + __dev_t st_dev; /* inode's device */ ino_t st_ino; /* inode's number */ mode_t st_mode; /* inode protection mode */ nlink_t st_nlink; /* number of hard links */ uid_t st_uid; /* user ID of the file's owner */ gid_t st_gid; /* group ID of the file's group */ - __devt st_rdev; /* device type */ + __dev_t st_rdev; /* device type */ #ifndef _POSIX_SOURCE struct timespec st_atimespec; /* time of last access */ struct timespec st_mtimespec; /* time of last data modification */ @@ -107,13 +107,13 @@ struct stat { #ifndef _POSIX_SOURCE struct nstat { - __devt st_dev; /* inode's device */ + __dev_t st_dev; /* inode's device */ ino_t st_ino; /* inode's number */ u_int32_t st_mode; /* inode protection mode */ u_int32_t st_nlink; /* number of hard links */ uid_t st_uid; /* user ID of the file's owner */ gid_t st_gid; /* group ID of the file's group */ - __devt st_rdev; /* device type */ + __dev_t st_rdev; /* device type */ #ifndef _POSIX_SOURCE struct timespec st_atimespec; /* time of last access */ struct timespec st_mtimespec; /* time of last data modification */ @@ -135,7 +135,7 @@ struct nstat { }; #endif -#undef __devt +#undef __dev_t #ifndef _POSIX_SOURCE #define st_atime st_atimespec.tv_sec