From f2e4f258587b5b511ee3791c7def1abecbfd7fd7 Mon Sep 17 00:00:00 2001 From: sewardj Date: Fri, 29 Jun 2001 13:57:08 +0000 Subject: [PATCH] [project @ 2001-06-29 13:57:08 by sewardj] Remove spurious "return ()" from WIN32 hSetBinaryMode. Why this didn't cause a syntax error before now completely escapes me. --- ghc/lib/std/PrelHandle.hsc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ghc/lib/std/PrelHandle.hsc b/ghc/lib/std/PrelHandle.hsc index 084a182..c50fb48 100644 --- a/ghc/lib/std/PrelHandle.hsc +++ b/ghc/lib/std/PrelHandle.hsc @@ -4,7 +4,7 @@ #undef DEBUG -- ----------------------------------------------------------------------------- --- $Id: PrelHandle.hsc,v 1.12 2001/06/29 13:41:43 simonmar Exp $ +-- $Id: PrelHandle.hsc,v 1.13 2001/06/29 13:57:08 sewardj Exp $ -- -- (c) The University of Glasgow, 1994-2001 -- @@ -1181,7 +1181,6 @@ hSetBinaryMode handle bin = throwErrnoIfMinus1_ "hSetBinaryMode" (setmode (fromIntegral (haFD handle_)) flg) return handle_{haIsBin=bin} - return () foreign import "setmode" setmode :: CInt -> CInt -> IO CInt #else -- 1.7.10.4