10
10
) ]
11
11
#![ allow( deprecated) ]
12
12
13
- use crate :: os:: raw:: c_long;
14
- use crate :: os:: unix:: raw:: { gid_t, uid_t} ;
15
-
16
13
#[ stable( feature = "pthread_t" , since = "1.8.0" ) ]
17
14
pub type pthread_t = libc:: pthread_t ;
18
15
@@ -34,37 +31,3 @@ pub type off_t = libc::off_t;
34
31
35
32
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
36
33
pub type time_t = libc:: time_t ;
37
-
38
- #[ repr( C ) ]
39
- #[ derive( Clone ) ]
40
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
41
- pub struct stat {
42
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
43
- pub st_dev : dev_t ,
44
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
45
- pub st_ino : ino_t ,
46
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
47
- pub st_mode : mode_t ,
48
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
49
- pub st_nlink : nlink_t ,
50
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
51
- pub st_uid : uid_t ,
52
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
53
- pub st_gid : gid_t ,
54
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
55
- pub st_rdev : dev_t ,
56
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
57
- pub st_size : off_t ,
58
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
59
- pub st_atime : time_t ,
60
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
61
- pub st_mtime : time_t ,
62
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
63
- pub st_ctime : time_t ,
64
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
65
- pub st_blksize : blksize_t ,
66
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
67
- pub st_blocks : blkcnt_t ,
68
- #[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
69
- pub st_spare4 : [ c_long ; 2usize ] ,
70
- }
0 commit comments