aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 18:13:39 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 18:13:39 +0100
commit7a2f3f41b4492c9d2e846ebd832ba7ddbaf063ac (patch)
tree85461dd3b5a6c27ac48c3edefe8ec696261f6ce3 /include
parent2b47647ebef1499ceb5e77d7e19c4c8745b473c7 (diff)
Replace `__hsunix_lstat` wrapper with CApiFFI
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h5
1 files changed, 1 insertions, 4 deletions
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