aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Files.hsc
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 /System/Posix/Files.hsc
parent2b47647ebef1499ceb5e77d7e19c4c8745b473c7 (diff)
Replace `__hsunix_lstat` wrapper with CApiFFI
Diffstat (limited to 'System/Posix/Files.hsc')
-rw-r--r--System/Posix/Files.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Files.hsc b/System/Posix/Files.hsc
index b18a8df..2df973d 100644
--- a/System/Posix/Files.hsc
+++ b/System/Posix/Files.hsc
@@ -187,7 +187,7 @@ getSymbolicLinkStatus path = do
throwErrnoPathIfMinus1_ "getSymbolicLinkStatus" path (c_lstat s p)
return (FileStatus fp)
-foreign import ccall unsafe "__hsunix_lstat"
+foreign import capi unsafe "HsUnix.h lstat"
c_lstat :: CString -> Ptr CStat -> IO CInt
-- | @createNamedPipe fifo mode@