@@ -36,9 +36,6 @@ pub type nl_item = ::c_int;
36
36
pub type id_t = :: c_int ;
37
37
pub type idtype_t = :: c_uint ;
38
38
39
-
40
-
41
-
42
39
pub enum timezone { }
43
40
44
41
s ! {
361
358
pub events: :: uint32_t,
362
359
pub u64 : :: uint64_t,
363
360
}
364
-
365
-
366
361
}
367
362
368
363
pub const LC_CTYPE : :: c_int = 0 ;
@@ -1140,8 +1135,6 @@ pub const LOG_CRON: ::c_int = 15 << 3;
1140
1135
pub const SYS_epoll_create : :: c_long = 213 ;
1141
1136
pub const SYS_epoll_create1 : :: c_long = 291 ;
1142
1137
1143
-
1144
-
1145
1138
pub const PTHREAD_MUTEX_INITIALIZER : pthread_mutex_t = pthread_mutex_t {
1146
1139
__pthread_mutex_flag1 : 0 ,
1147
1140
__pthread_mutex_flag2 : 0 ,
@@ -1216,8 +1209,6 @@ pub const EPOLL_CTL_ADD: ::c_int = 1;
1216
1209
pub const EPOLL_CTL_MOD : :: c_int = 3 ;
1217
1210
pub const EPOLL_CTL_DEL : :: c_int = 2 ;
1218
1211
1219
-
1220
-
1221
1212
f ! {
1222
1213
pub fn FD_CLR ( fd: :: c_int, set: * mut fd_set) -> ( ) {
1223
1214
let bits = mem:: size_of_val( & ( * set) . fds_bits[ 0 ] ) * 8 ;
@@ -1403,7 +1394,6 @@ extern {
1403
1394
maxevents : :: c_int ,
1404
1395
timeout : :: c_int ,
1405
1396
sigmask : * const :: sigset_t ) -> :: c_int ;
1406
-
1407
1397
pub fn epoll_create ( size : :: c_int ) -> :: c_int ;
1408
1398
pub fn epoll_create1 ( flags : :: c_int ) -> :: c_int ;
1409
1399
pub fn epoll_wait ( epfd : :: c_int ,
@@ -1414,8 +1404,6 @@ extern {
1414
1404
op : :: c_int ,
1415
1405
fd : :: c_int ,
1416
1406
event : * mut :: epoll_event ) -> :: c_int ;
1417
-
1418
-
1419
1407
1420
1408
#[ cfg_attr( target_os = "solaris" , link_name = "__posix_getgrnam_r" ) ]
1421
1409
pub fn getgrnam_r ( name : * const :: c_char ,
0 commit comments