aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-06-07 10:38:36 -0700
committerRob Landley <rob@landley.net>2019-06-07 21:53:50 -0500
commit61ef1dccec4e6bf1c56384ed1cd45f93dcb6bd4c (patch)
tree5466c8b6204c8cb8cc22ad9dd2df97f79cb139ab /lib
parent7771204cf7bc161822eb636ff6fb30a1579b622d (diff)
downloadtoybox-61ef1dccec4e6bf1c56384ed1cd45f93dcb6bd4c.tar.gz
Remove getprop, setprop, start, and stop from toybox
These are Android specific, so not really helping the outside community, and are getting more and more Android dependencies to work correctly, so let's drop these from toybox and build them within Android. Change-Id: Ic6022f1f506e10868c61f55d64fa4e7c1b14eba2
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/portability.h b/lib/portability.h
index f5f8352a..f57eb026 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -251,7 +251,6 @@ pid_t xfork(void);
// use toybox before they're ready to switch to host bionic.
#ifdef __BIONIC__
#include <android/log.h>
-#include <sys/system_properties.h>
#else
typedef enum android_LogPriority {
ANDROID_LOG_UNKNOWN = 0,
@@ -268,11 +267,6 @@ static inline int __android_log_write(int pri, const char *tag, const char *msg)
{
return -1;
}
-#define PROP_VALUE_MAX 92
-static inline int __system_property_set(const char *key, const char *value)
-{
- return -1;
-}
#endif
// libprocessgroup is an Android platform library not included in the NDK.