aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/portability.c')
-rw-r--r--lib/portability.c10
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__)