summaryrefslogtreecommitdiff
path: root/libraries/base/System/Posix
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-02-26 13:52:26 +0000
committerIan Lynagh <igloo@earth.li>2012-02-26 14:23:04 +0000
commit702891caaababb48642640d819ac78e7187e9abd (patch)
tree5e47d1cb380eea3795186e71b18697f31364cc77 /libraries/base/System/Posix
parente0db134304f86cdf3d28827e5178be35b05f13d1 (diff)
downloadhaskell-702891caaababb48642640d819ac78e7187e9abd.tar.gz
Convert some FFI bindings to use "value" imports
Diffstat (limited to 'libraries/base/System/Posix')
-rw-r--r--libraries/base/System/Posix/Internals.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/base/System/Posix/Internals.hs b/libraries/base/System/Posix/Internals.hs
index 341e5e354e..de02e726b0 100644
--- a/libraries/base/System/Posix/Internals.hs
+++ b/libraries/base/System/Posix/Internals.hs
@@ -575,8 +575,8 @@ foreign import capi unsafe "sys/stat.h S_ISSOCK" c_s_issock :: CMode -> CInt
s_issock _ = False
#endif
-foreign import ccall unsafe "__hscore_bufsiz" dEFAULT_BUFFER_SIZE :: Int
-foreign import ccall unsafe "__hscore_seek_cur" sEEK_CUR :: CInt
-foreign import ccall unsafe "__hscore_seek_set" sEEK_SET :: CInt
-foreign import ccall unsafe "__hscore_seek_end" sEEK_END :: CInt
+foreign import ccall unsafe "__hscore_bufsiz" dEFAULT_BUFFER_SIZE :: Int
+foreign import capi unsafe "stdio.h value SEEK_CUR" sEEK_CUR :: CInt
+foreign import capi unsafe "stdio.h value SEEK_SET" sEEK_SET :: CInt
+foreign import capi unsafe "stdio.h value SEEK_END" sEEK_END :: CInt