diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-31 12:57:23 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-31 12:57:23 +0100 |
commit | 57d2cb2a613e909829f22be6218e840b2b4602b5 (patch) | |
tree | 2f817405cccdd478c5a30f96bc4ce41743fffb2c /cbits | |
parent | fb9b3eb74be56579deaa6e653686405e2e0463dd (diff) |
Replace `__hsunix_unsetenv` wrapper with CApiFFI
Diffstat (limited to 'cbits')
-rw-r--r-- | cbits/HsUnix.c | 12 |
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). |