From 3e0d5857cc3fd3316b7bfa41b3afe697a11a794d Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 5 Oct 2004 12:51:33 +0000 Subject: [PATCH] [project @ 2004-10-05 12:51:33 by simonmar] inputReady foreign import should be "safe. --- GHC/IO.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GHC/IO.hs b/GHC/IO.hs index 29fdc60..2872944 100644 --- a/GHC/IO.hs +++ b/GHC/IO.hs @@ -93,7 +93,7 @@ hWaitForInput h msecs = do (fromIntegral msecs) (haIsStream handle_) return (r /= 0) -foreign import ccall unsafe "inputReady" +foreign import ccall safe "inputReady" inputReady :: CInt -> CInt -> Bool -> IO CInt -- --------------------------------------------------------------------------- -- 1.7.10.4