Remove obsolete _PATH_BSHELL hacks.
Unnecessary since 35bdfa040f87c52a8c8972a4ac2d5558669eefa6 this week
last year.
Change-Id: I1e9b5b9d08d09803cfdf289d668a1fd1d23d7e11
diff --git a/libc/include/paths.h b/libc/include/paths.h
index cfbc5b3..7de9eaa 100644
--- a/libc/include/paths.h
+++ b/libc/include/paths.h
@@ -38,10 +38,8 @@
#include <sys/cdefs.h>
-#ifndef _PATH_BSHELL
/** Path to the default system shell. Historically the 'B' was to specify the Bourne shell. */
#define _PATH_BSHELL "/system/bin/sh"
-#endif
/** Path to the system console. */
#define _PATH_CONSOLE "/dev/console"
diff --git a/libc/upstream-netbsd/android/include/netbsd-compat.h b/libc/upstream-netbsd/android/include/netbsd-compat.h
index a625f06..2c48b87 100644
--- a/libc/upstream-netbsd/android/include/netbsd-compat.h
+++ b/libc/upstream-netbsd/android/include/netbsd-compat.h
@@ -44,7 +44,3 @@
int reallocarr(void*, size_t, size_t);
#define __arraycount(a) (sizeof(a) / sizeof(a[0]))
-
-/* Use appropriate shell depending on process's executable. */
-__LIBC_HIDDEN__ extern const char* __bionic_get_shell_path();
-#define _PATH_BSHELL __bionic_get_shell_path()
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h
index ac6840a..fa0831f 100644
--- a/libc/upstream-openbsd/android/include/openbsd-compat.h
+++ b/libc/upstream-openbsd/android/include/openbsd-compat.h
@@ -53,10 +53,6 @@
*/
#define _PATH_TMP "/data/local/tmp/"
-/* Use appropriate shell depending on process's executable. */
-__LIBC_HIDDEN__ extern const char* __bionic_get_shell_path();
-#define _PATH_BSHELL __bionic_get_shell_path()
-
__LIBC_HIDDEN__ extern char* __findenv(const char*, int, int*);
__LIBC_HIDDEN__ extern char* _mktemp(char*);