Merge "Remove the legacy endusershell/getusershell/setusershell stubs."
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp
index e7e20d1..231cf10 100644
--- a/libc/bionic/ndk_cruft.cpp
+++ b/libc/bionic/ndk_cruft.cpp
@@ -359,18 +359,8 @@
#endif // !defined(__LP64__)
-// This is never implemented in bionic, only needed for ABI compatibility with the NDK.
-extern "C" char* getusershell() {
- return NULL;
-}
-
-// This is never implemented in bionic, only needed for ABI compatibility with the NDK.
-extern "C" void setusershell() { }
-
-// This is never implemented in bionic, only needed for ABI compatibility with the NDK.
-extern "C" void endusershell() { }
-
-// This is never implemented in bionic, only needed for ABI compatibility with the NDK.
+// This was never implemented in bionic, only needed for ABI compatibility with the NDK.
+// In the M time frame, over 1000 apps have a reference to this!
extern "C" void endpwent() { }
// Since dlmalloc_inspect_all and dlmalloc_trim are exported for systems
diff --git a/libc/libc.map b/libc/libc.map
index bb67b5c..b0f7030 100644
--- a/libc/libc.map
+++ b/libc/libc.map
@@ -389,7 +389,6 @@
endmntent;
endpwent;
endservent;
- endusershell;
endutent;
environ;
epoll_create;
@@ -580,7 +579,6 @@
gettid;
gettimeofday;
getuid;
- getusershell;
getutent;
getwc;
getwchar;
@@ -1051,7 +1049,6 @@
setstate;
settimeofday;
setuid;
- setusershell;
setutent;
setvbuf;
setxattr;