aboutsummaryrefslogtreecommitdiffhomepage
path: root/cbits/HsUnix.c
diff options
context:
space:
mode:
Diffstat (limited to 'cbits/HsUnix.c')
-rw-r--r--cbits/HsUnix.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/cbits/HsUnix.c b/cbits/HsUnix.c
index 5742b49..8e16803 100644
--- a/cbits/HsUnix.c
+++ b/cbits/HsUnix.c
@@ -36,18 +36,6 @@ int __hsunix_push_module(int fd, const char *module)
#endif
}
-#ifdef HAVE_UNSETENV
-int __hsunix_unsetenv(const char *name)
-{
-#ifdef UNSETENV_RETURNS_VOID
- unsetenv(name);
- return 0;
-#else
- return unsetenv(name);
-#endif
-}
-#endif
-
/* A size that will contain many path names, but not necessarily all
* (PATH_MAX is not defined on systems with unlimited path length,
* e.g. the Hurd).