From 7a2f3f41b4492c9d2e846ebd832ba7ddbaf063ac Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sat, 30 Jan 2016 18:13:39 +0100 Subject: Replace `__hsunix_lstat` wrapper with CApiFFI --- include/HsUnix.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/HsUnix.h b/include/HsUnix.h index a6bba9a..def34ca 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -113,10 +113,7 @@ fall back to O_FSYNC, which should be the same */ # define WCOREDUMP(s) 0 #endif -// lstat is a macro on some platforms, so we need a wrapper: -int __hsunix_lstat(const char *path, struct stat *buf); - -// lstat is a macro on some platforms, so we need a wrapper: +// mknod is a macro on some platforms, so we need a wrapper: int __hsunix_mknod(const char *pathname, mode_t mode, dev_t dev); #ifdef HAVE_GETPWENT -- cgit v1.2.3