File tree 4 files changed +4
-2
lines changed
4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1132,8 +1132,6 @@ f! {
1132
1132
}
1133
1133
1134
1134
extern {
1135
- pub fn __error ( ) -> * mut :: c_int ;
1136
-
1137
1135
pub fn clock_getres ( clk_id : :: clockid_t , tp : * mut :: timespec ) -> :: c_int ;
1138
1136
pub fn clock_gettime ( clk_id : :: clockid_t , tp : * mut :: timespec ) -> :: c_int ;
1139
1137
pub fn clock_settime ( clk_id : :: clockid_t , tp : * const :: timespec ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -1086,6 +1086,8 @@ f! {
1086
1086
}
1087
1087
1088
1088
extern {
1089
+ pub fn __error ( ) -> * mut :: c_int ;
1090
+
1089
1091
pub fn sem_destroy ( sem : * mut sem_t ) -> :: c_int ;
1090
1092
pub fn sem_init ( sem : * mut sem_t ,
1091
1093
pshared : :: c_int ,
Original file line number Diff line number Diff line change @@ -1267,6 +1267,7 @@ extern {
1267
1267
pub fn setrlimit ( resource : :: c_int , rlim : * const :: rlimit ) -> :: c_int ;
1268
1268
pub fn strerror_r ( errnum : :: c_int , buf : * mut c_char ,
1269
1269
buflen : :: size_t ) -> :: c_int ;
1270
+ pub fn _errnop ( ) -> * mut libc:: c_int ;
1270
1271
1271
1272
pub fn abs ( i : :: c_int ) -> :: c_int ;
1272
1273
pub fn atof ( s : * const :: c_char ) -> :: c_double ;
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ extern {
539
539
540
540
pub fn strerror_r ( errnum : :: c_int , buf : * mut c_char ,
541
541
buflen : :: size_t ) -> :: c_int ;
542
+ pub fn __errno_location ( ) -> * mut libc:: c_int ;
542
543
543
544
// malloc.h
544
545
pub fn memalign ( align : :: size_t , size : :: size_t ) -> * mut :: c_void ;
You can’t perform that action at this time.
0 commit comments