[breaking change] remove __progname

This commit is contained in:
gnzlbg 2019-05-23 15:13:17 +02:00
parent 8c70f498f2
commit 30c853f59f
2 changed files with 0 additions and 13 deletions

View File

@ -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.

View File

@ -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;