aboutsummaryrefslogtreecommitdiffhomepage
path: root/cbits
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 17:16:28 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 17:16:28 +0100
commitc41080e2f7802e269a12f6511f1846f4740e5300 (patch)
treed5e94a9da62a1b46ed376b08653eaf769fb1c44a /cbits
parent5db88aa16bdda504f4bc00fadcd2e27d55c2f63e (diff)
Replace `__hsunix_opendir` wrapper with CApiFFI
Diffstat (limited to 'cbits')
-rw-r--r--cbits/HsUnix.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cbits/HsUnix.c b/cbits/HsUnix.c
index 13ca64b..039203e 100644
--- a/cbits/HsUnix.c
+++ b/cbits/HsUnix.c
@@ -76,12 +76,6 @@ int __hsunix_nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
}
#endif
-// opendir is a macro on some platforms, so we need a wrapper:
-DIR *__hsunix_opendir(const char *filename)
-{
- return opendir(filename);
-}
-
// time is a macro on some platforms, so we need a wrapper:
time_t __hsunix_time(time_t *tloc)
{