From 30c853f59fea8b6660480c2fa3fc7ce40429e99c Mon Sep 17 00:00:00 2001
From: gnzlbg <gonzalobg88@gmail.com>
Date: Thu, 23 May 2019 15:13:17 +0200
Subject: [PATCH] [breaking change] remove __progname

---
 libc-test/build.rs             | 9 ---------
 src/unix/notbsd/android/mod.rs | 4 ----
 2 files changed, 13 deletions(-)

diff --git a/libc-test/build.rs b/libc-test/build.rs
index 616f1dde..d8998104 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -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?
     cfg.skip_field_type(move |struct_, field| {
         // This is a weird union, don't check the type.
diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs
index dda19036..9fda9d6d 100644
--- a/src/unix/notbsd/android/mod.rs
+++ b/src/unix/notbsd/android/mod.rs
@@ -1926,10 +1926,6 @@ f! {
     }
 }
 
-extern {
-    static mut __progname: *mut ::c_char;
-}
-
 extern {
     pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
                       buflen: ::size_t) -> ::c_int;
-- 
GitLab