aboutsummaryrefslogtreecommitdiffhomepage
path: root/cbits
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 17:25:01 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 17:28:30 +0100
commit44a8b5240a8766f2561f36400713ea524dd745b0 (patch)
treeea13e66e626841575f67353eb36782a03b9755fd /cbits
parentc41080e2f7802e269a12f6511f1846f4740e5300 (diff)
Replace `__hsunix_time` 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 039203e..e61f835 100644
--- a/cbits/HsUnix.c
+++ b/cbits/HsUnix.c
@@ -76,12 +76,6 @@ int __hsunix_nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
}
#endif
-// time is a macro on some platforms, so we need a wrapper:
-time_t __hsunix_time(time_t *tloc)
-{
- return time(tloc);
-}
-
// times is a macro on some platforms, so we need a wrapper:
clock_t __hsunix_times(struct tms *tp)
{