Skip to content

Commit 6406f18

Browse files
committed
fix style
1 parent c1df963 commit 6406f18

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/unix/solaris/mod.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ pub type nl_item = ::c_int;
3636
pub type id_t = ::c_int;
3737
pub type idtype_t = ::c_uint;
3838

39-
40-
41-
4239
pub enum timezone {}
4340

4441
s! {
@@ -361,8 +358,6 @@ s! {
361358
pub events: ::uint32_t,
362359
pub u64: ::uint64_t,
363360
}
364-
365-
366361
}
367362

368363
pub const LC_CTYPE: ::c_int = 0;
@@ -1140,8 +1135,6 @@ pub const LOG_CRON: ::c_int = 15 << 3;
11401135
pub const SYS_epoll_create: ::c_long = 213;
11411136
pub const SYS_epoll_create1: ::c_long = 291;
11421137

1143-
1144-
11451138
pub const PTHREAD_MUTEX_INITIALIZER: pthread_mutex_t = pthread_mutex_t {
11461139
__pthread_mutex_flag1: 0,
11471140
__pthread_mutex_flag2: 0,
@@ -1216,8 +1209,6 @@ pub const EPOLL_CTL_ADD: ::c_int = 1;
12161209
pub const EPOLL_CTL_MOD: ::c_int = 3;
12171210
pub const EPOLL_CTL_DEL: ::c_int = 2;
12181211

1219-
1220-
12211212
f! {
12221213
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {
12231214
let bits = mem::size_of_val(&(*set).fds_bits[0]) * 8;
@@ -1403,7 +1394,6 @@ extern {
14031394
maxevents: ::c_int,
14041395
timeout: ::c_int,
14051396
sigmask: *const ::sigset_t) -> ::c_int;
1406-
14071397
pub fn epoll_create(size: ::c_int) -> ::c_int;
14081398
pub fn epoll_create1(flags: ::c_int) -> ::c_int;
14091399
pub fn epoll_wait(epfd: ::c_int,
@@ -1414,8 +1404,6 @@ extern {
14141404
op: ::c_int,
14151405
fd: ::c_int,
14161406
event: *mut ::epoll_event) -> ::c_int;
1417-
1418-
14191407

14201408
#[cfg_attr(target_os = "solaris", link_name = "__posix_getgrnam_r")]
14211409
pub fn getgrnam_r(name: *const ::c_char,

0 commit comments

Comments
 (0)