[breaking change] remove __progname
This commit is contained in:
parent
8c70f498f2
commit
30c853f59f
@ -1414,15 +1414,6 @@ fn test_android(target: &str) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
cfg.skip_static(move |name| {
|
|
||||||
match name {
|
|
||||||
// Internal constant, not declared in any headers.
|
|
||||||
// FIXME: still necessary
|
|
||||||
"__progname" => true,
|
|
||||||
_ => false,
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// FIXME: still necessary?
|
// FIXME: still necessary?
|
||||||
cfg.skip_field_type(move |struct_, field| {
|
cfg.skip_field_type(move |struct_, field| {
|
||||||
// This is a weird union, don't check the type.
|
// This is a weird union, don't check the type.
|
||||||
|
@ -1926,10 +1926,6 @@ f! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern {
|
|
||||||
static mut __progname: *mut ::c_char;
|
|
||||||
}
|
|
||||||
|
|
||||||
extern {
|
extern {
|
||||||
pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
|
pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
|
||||||
buflen: ::size_t) -> ::c_int;
|
buflen: ::size_t) -> ::c_int;
|
||||||
|
Loading…
Reference in New Issue
Block a user