about summary refs log tree commit diff
path: root/include/bits/stat.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 18:41:25 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 18:41:25 -0500
commit74eea628cf43355ba2b227f0bb3c31697d637761 (patch)
tree9fe300db7b7fa7f541bdfa41176d0f6333851e74 /include/bits/stat.h
parent80695b1d1e64a026c473a33965e680444e863e34 (diff)
downloadmusl-74eea628cf43355ba2b227f0bb3c31697d637761.tar.gz
musl-74eea628cf43355ba2b227f0bb3c31697d637761.tar.xz
musl-74eea628cf43355ba2b227f0bb3c31697d637761.zip
extensive header cleanup for standards conformance & correctness
thanks to Peter Mazinger (psm) for pointing many of these issues out
and submitting a patch on which this commit is loosely based
Diffstat (limited to 'include/bits/stat.h')
-rw-r--r--include/bits/stat.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/bits/stat.h b/include/bits/stat.h
index 1ef34698..bb9314a5 100644
--- a/include/bits/stat.h
+++ b/include/bits/stat.h
@@ -15,11 +15,8 @@ struct stat
 	off_t st_size;
 	blksize_t st_blksize;
 	blkcnt_t st_blocks;
-	time_t st_atime;
-	unsigned long __st_atime_nsec;
-	time_t st_mtime;
-	unsigned long __st_mtime_nsec;
-	time_t st_ctime;
-	unsigned long __st_ctime_nsec;
+	struct timespec st_atim;
+	struct timespec st_mtim;
+	struct timespec st_ctim;
 	ino_t st_ino;
 };