File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: b8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
5
- refs/heads/try: 8959aded2c5158792f03474d33f13e44266e4db7
5
+ refs/heads/try: 97063727d791fc75c4704e5838a1b7513691031f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -997,7 +997,6 @@ pub mod types {
997
997
pub mod bsd44 {
998
998
}
999
999
pub mod extra {
1000
- use ptr;
1001
1000
use consts:: os:: extra:: { MAX_PROTOCOL_CHAIN ,
1002
1001
WSAPROTOCOL_LEN } ;
1003
1002
use types:: common:: c95:: c_void;
Original file line number Diff line number Diff line change 18
18
19
19
pub use self :: imp:: Lock ;
20
20
21
+
21
22
#[ cfg( unix) ]
22
23
mod imp {
23
- use std :: libc;
24
+ use libc;
24
25
25
26
#[ cfg( target_os = "linux" ) ]
26
27
mod os {
27
- use std :: libc;
28
+ use libc;
28
29
29
30
pub struct flock {
30
31
l_type : libc:: c_short ,
@@ -45,7 +46,7 @@ mod imp {
45
46
46
47
#[ cfg( target_os = "freebsd" ) ]
47
48
mod os {
48
- use std :: libc;
49
+ use libc;
49
50
50
51
pub struct flock {
51
52
l_start : libc:: off_t ,
@@ -64,7 +65,7 @@ mod imp {
64
65
65
66
#[ cfg( target_os = "macos" ) ]
66
67
mod os {
67
- use std :: libc;
68
+ use libc;
68
69
69
70
pub struct flock {
70
71
l_start : libc:: off_t ,
@@ -132,7 +133,7 @@ mod imp {
132
133
133
134
#[ cfg( windows) ]
134
135
mod imp {
135
- use std :: libc;
136
+ use libc;
136
137
use std:: mem;
137
138
use std:: os:: win32:: as_utf16_p;
138
139
use std:: os;
Original file line number Diff line number Diff line change 26
26
27
27
#[ allow( non_camel_case_types) ] ;
28
28
29
- extern crate libc;
30
-
29
+ use libc;
31
30
use std:: cast;
32
31
use std:: fmt;
33
32
use std:: io;
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ extern crate testing = "test";
26
26
extern crate time;
27
27
#[ phase( syntax, link) ]
28
28
extern crate log;
29
+ extern crate libc;
29
30
30
31
use std:: local_data;
31
32
use std:: io;
Original file line number Diff line number Diff line change 16
16
#[ feature( phase) ] ;
17
17
#[ phase( syntax, link) ]
18
18
extern crate log;
19
+ extern crate libc;
19
20
20
- use std:: libc;
21
21
use std:: io:: net:: ip:: { Ipv4Addr , SocketAddr } ;
22
22
use std:: io:: net:: tcp:: { TcpListener , TcpStream } ;
23
23
use std:: io:: { Acceptor , Listener } ;
You can’t perform that action at this time.
0 commit comments