projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513136e
)
make type of st_dev explicitly dev_t in x86_64 stat.h
author
Rich Felker
<dalias@aerifal.cx>
Sat, 11 Jan 2014 16:20:01 +0000
(11:20 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 11 Jan 2014 16:20:01 +0000
(11:20 -0500)
otherwise it's unclear that it's correct. aside from that, it makes
for a gratuitous difference between the x86_64 header and the upcoming
x32 header.
arch/x86_64/bits/stat.h
patch
|
blob
|
history
diff --git
a/arch/x86_64/bits/stat.h
b/arch/x86_64/bits/stat.h
index 214579616fdab8b7bc0b3363c46129bf7419f702..081237c32a6372f0ec7f8311bf0bf421912a03dd 100644
(file)
--- a/
arch/x86_64/bits/stat.h
+++ b/
arch/x86_64/bits/stat.h
@@
-2,7
+2,7
@@
* by the corresponding correctly-sized userspace types. */
struct stat {
-
unsigned long
st_dev;
+
dev_t
st_dev;
ino_t st_ino;
nlink_t st_nlink;