From fb9b3eb74be56579deaa6e653686405e2e0463dd Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sun, 31 Jan 2016 12:34:59 +0100 Subject: Use CApiFFI for `ptsname(3)` et al for GHC>=8.0 This improves on 2ddf4b2b7bf41f878bc7d8a1afa49126710f524c --- include/HsUnix.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') diff --git a/include/HsUnix.h b/include/HsUnix.h index 2f77d28..fb19f99 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -113,12 +113,6 @@ fall back to O_FSYNC, which should be the same */ # define WCOREDUMP(s) 0 #endif -#ifdef HAVE_PTSNAME -char *__hsunix_ptsname(int fd); -int __hsunix_grantpt(int fd); -int __hsunix_unlockpt(int fd); -#endif - // push a SVR4 STREAMS module; do nothing if STREAMS not available int __hsunix_push_module(int fd, const char *module); -- cgit v1.2.3