[project @ 2002-04-26 13:34:05 by simonmar]
[haskell-directory.git] / Debug / Trace.hs
index d5a012a..08d2fc1 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- 
+-- |
 -- Module      :  Debug.Trace
 -- Copyright   :  (c) The University of Glasgow 2001
 -- License     :  BSD-style (see the file libraries/core/LICENSE)
@@ -8,8 +8,6 @@
 -- Stability   :  provisional
 -- Portability :  portable
 --
--- $Id: Trace.hs,v 1.1 2001/06/28 14:15:02 simonmar Exp $
---
 -- The trace function.
 --
 -----------------------------------------------------------------------------
@@ -37,5 +35,5 @@ trace string expr = unsafePerformIO $ do
     postTraceHook fd
     return expr
 
-foreign import "PostTraceHook" postTraceHook :: Int -> IO ()
+foreign import ccall "PostTraceHook" postTraceHook :: Int -> IO ()
 #endif