From 7fdf4cda3b229e2873a46e0482c83f52b714c5fe Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sat, 30 Jan 2016 17:31:48 +0100 Subject: Replace `__hsunix_times` wrapper with CApiFFI --- cbits/HsUnix.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cbits') 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 on Linux. But these definitions -- cgit v1.2.3