aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-21 21:49:05 -0600
committerElliott Hughes <enh@google.com>2014-11-21 21:49:05 -0600
commit6a29bb1ebe62ada2dad5fb50f84f23a497cd677a (patch)
treeaa85037839d28c40ea459d96edd3feb0b3e9de76 /lib/portability.h
parent3280d995b3447b7a94af006ac26d7d3656aee961 (diff)
downloadtoybox-6a29bb1ebe62ada2dad5fb50f84f23a497cd677a.tar.gz
A patch against your current ToT that builds in AOSP master.
Diffstat (limited to 'lib/portability.h')
-rw-r--r--lib/portability.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/portability.h b/lib/portability.h
index 548c128f..2f2421d8 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -187,9 +187,6 @@ ssize_t getline(char **lineptr, size_t *n, FILE *stream);
#include <sys/swap.h>
// Android is missing some headers and functions
-#if defined(__ANDROID__)
-int sethostname(const char *name, size_t len);
-#endif
// "generated/config.h" is included first
#if CFG_TOYBOX_SHADOW
#include <shadow.h>