summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-14 23:34:38 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-14 23:34:38 +0000
commit5688a1cba762d104b54edaeb16be38662efa9faf (patch)
treee156ec53086b703ce0486f60159168fa53fb9014 /sys
parent45fb1c552af7393b8a76ffe3c56f8c5cfd7a7c97 (diff)
"struct stat35" and "struct stat43" aren't needed anymore.
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/stat.h42
1 files changed, 1 insertions, 41 deletions
diff --git a/sys/sys/stat.h b/sys/sys/stat.h
index edcb43f8e05..1209dd0b3c3 100644
--- a/sys/sys/stat.h
+++ b/sys/sys/stat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stat.h,v 1.17 2009/01/29 22:08:45 guenther Exp $ */
+/* $OpenBSD: stat.h,v 1.18 2011/07/14 23:34:37 matthew Exp $ */
/* $NetBSD: stat.h,v 1.20 1996/05/16 22:17:49 cgd Exp $ */
/*-
@@ -43,46 +43,6 @@
#include <sys/cdefs.h>
#include <sys/time.h>
-#ifdef _KERNEL
-struct stat43 {
- u_int16_t st_dev; /* inode's device */
- ino_t st_ino; /* inode's number */
- u_int16_t st_mode; /* inode protection mode */
- u_int16_t st_nlink; /* number of hard links */
- u_int16_t st_uid; /* user ID of the file's owner */
- u_int16_t st_gid; /* group ID of the file's group */
- u_int16_t st_rdev; /* device type */
- int32_t st_size; /* file size, in bytes */
- struct timespec st_atim; /* time of last access */
- struct timespec st_mtim; /* time of last data modification */
- struct timespec st_ctim; /* time of last file status change */
- int32_t st_blksize; /* optimal blocksize for I/O */
- int32_t st_blocks; /* blocks allocated for file */
- u_int32_t st_flags; /* user defined flags for file */
- u_int32_t st_gen; /* file generation number */
-};
-
-struct stat35 {
- dev_t st_dev; /* inode's device */
- ino_t st_ino; /* inode's number */
- u_int16_t st_mode; /* inode protection mode */
- u_int16_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 */
- dev_t st_rdev; /* device type */
- struct timespec st_atim; /* time of last access */
- struct timespec st_mtim; /* time of last data modification */
- struct timespec st_ctim; /* time of last file status change */
- off_t st_size; /* file size, in bytes */
- int64_t st_blocks; /* blocks allocated for file */
- u_int32_t st_blksize; /* optimal blocksize for I/O */
- u_int32_t st_flags; /* user defined flags for file */
- u_int32_t st_gen; /* file generation number */
- int32_t st_lspare;
- int64_t st_qspare[2];
-};
-#endif /* !_KERNEL */
-
struct stat {
dev_t st_dev; /* inode's device */
ino_t st_ino; /* inode's number */