aboutsummaryrefslogtreecommitdiffhomepage
path: root/cbits
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 17:31:48 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 17:31:48 +0100
commit7fdf4cda3b229e2873a46e0482c83f52b714c5fe (patch)
tree579dd8e4bd9d9051835d16d41e9e4027b69d9190 /cbits
parent44a8b5240a8766f2561f36400713ea524dd745b0 (diff)
Replace `__hsunix_times` 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 e61f835..66d951d 100644
--- a/cbits/HsUnix.c
+++ b/cbits/HsUnix.c
@@ -76,12 +76,6 @@ int __hsunix_nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
}
#endif
-// times is a macro on some platforms, so we need a wrapper:
-clock_t __hsunix_times(struct tms *tp)
-{
- return times(tp);
-}
-
#ifdef HAVE_PTSNAME
// I cannot figure out how to make the definitions of the following
// functions visible in <stdlib.h> on Linux. But these definitions