diff options
author | Ian Lynagh <igloo@earth.li> | 2012-02-26 13:52:26 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-02-26 14:23:04 +0000 |
commit | 702891caaababb48642640d819ac78e7187e9abd (patch) | |
tree | 5e47d1cb380eea3795186e71b18697f31364cc77 /libraries/base/System/Posix | |
parent | e0db134304f86cdf3d28827e5178be35b05f13d1 (diff) | |
download | haskell-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.hs | 8 |
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 |