diff options
author | Rob Landley <rob@landley.net> | 2019-04-21 04:22:31 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-04-21 04:22:31 -0500 |
commit | 6314cf515cdeca72ab6ecd3423c22f98b6ffb516 (patch) | |
tree | fa217740b17ef8e9a5d6d2fb5c0f7dad527ac252 /lib/portability.c | |
parent | 4a045c6d6255629f8a50c741c59caac1e2e6b94f (diff) | |
download | toybox-6314cf515cdeca72ab6ecd3423c22f98b6ffb516.tar.gz |
Shouldn't need clearenv() for macosx now we've got xclearenv.
Diffstat (limited to 'lib/portability.c')
-rw-r--r-- | lib/portability.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/portability.c b/lib/portability.c index 194d844b..c75e8ba5 100644 --- a/lib/portability.c +++ b/lib/portability.c @@ -46,16 +46,6 @@ int xgetrandom(void *buf, unsigned buflen, unsigned flags) return 1; } -#if defined(__APPLE__) -extern char **environ; - -int clearenv(void) -{ - *environ = NULL; - return 0; -} -#endif - // Get a linked list of mount points, with stat information. #if defined(__APPLE__) || defined(__FreeBSD__) |