From 61ef1dccec4e6bf1c56384ed1cd45f93dcb6bd4c Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Fri, 7 Jun 2019 10:38:36 -0700 Subject: 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 --- lib/portability.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') 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 -#include #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. -- cgit v1.2.3