File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ mod libc {
51
51
pub fn fflush ( stream : * mut i32 ) -> i32 ;
52
52
pub fn printf ( format : * const i8 , ...) -> i32 ;
53
53
54
- pub static STDOUT : * mut i32 ;
54
+ pub static stdout : * mut i32 ;
55
55
}
56
56
}
57
57
@@ -67,7 +67,7 @@ mod intrinsics {
67
67
pub fn panic ( _msg : & str ) -> ! {
68
68
unsafe {
69
69
libc:: puts ( "Panicking\0 " as * const str as * const u8 ) ;
70
- libc:: fflush ( libc:: STDOUT ) ;
70
+ libc:: fflush ( libc:: stdout ) ;
71
71
intrinsics:: abort ( ) ;
72
72
}
73
73
}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ mod libc {
49
49
pub fn puts ( s : * const u8 ) -> i32 ;
50
50
pub fn fflush ( stream : * mut i32 ) -> i32 ;
51
51
52
- pub static STDOUT : * mut i32 ;
52
+ pub static stdout : * mut i32 ;
53
53
}
54
54
}
55
55
@@ -65,7 +65,7 @@ mod intrinsics {
65
65
pub fn panic ( _msg : & str ) -> ! {
66
66
unsafe {
67
67
libc:: puts ( "Panicking\0 " as * const str as * const u8 ) ;
68
- libc:: fflush ( libc:: STDOUT ) ;
68
+ libc:: fflush ( libc:: stdout ) ;
69
69
intrinsics:: abort ( ) ;
70
70
}
71
71
}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ mod libc {
53
53
pub fn fflush ( stream : * mut i32 ) -> i32 ;
54
54
pub fn printf ( format : * const i8 , ...) -> i32 ;
55
55
56
- pub static STDOUT : * mut i32 ;
56
+ pub static stdout : * mut i32 ;
57
57
}
58
58
}
59
59
@@ -69,7 +69,7 @@ mod intrinsics {
69
69
pub fn panic ( _msg : & str ) -> ! {
70
70
unsafe {
71
71
libc:: puts ( "Panicking\0 " as * const str as * const u8 ) ;
72
- libc:: fflush ( libc:: STDOUT ) ;
72
+ libc:: fflush ( libc:: stdout ) ;
73
73
intrinsics:: abort ( ) ;
74
74
}
75
75
}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ mod libc {
59
59
pub fn puts ( s : * const u8 ) -> i32 ;
60
60
pub fn fflush ( stream : * mut i32 ) -> i32 ;
61
61
62
- pub static STDOUT : * mut i32 ;
62
+ pub static stdout : * mut i32 ;
63
63
}
64
64
}
65
65
@@ -75,7 +75,7 @@ mod intrinsics {
75
75
pub fn panic ( _msg : & str ) -> ! {
76
76
unsafe {
77
77
libc:: puts ( "Panicking\0 " as * const str as * const u8 ) ;
78
- libc:: fflush ( libc:: STDOUT ) ;
78
+ libc:: fflush ( libc:: stdout ) ;
79
79
intrinsics:: abort ( ) ;
80
80
}
81
81
}
You can’t perform that action at this time.
0 commit comments