[commit: ghc] ghc-7.10: Add missing name for FFI import (fixes #9950) (3690f03)

git at git.haskell.org git at git.haskell.org
Tue May 26 02:05:27 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/3690f03563d552899f267dc8d3254c7b66574634/ghc

>---------------------------------------------------------------

commit 3690f03563d552899f267dc8d3254c7b66574634
Author: erdeszt <erdeszt at gmail.com>
Date:   Mon May 25 16:28:43 2015 +0200

    Add missing name for FFI import (fixes #9950)
    
    Signed-off-by: erdeszt <erdeszt at gmail.com>
    
    Reviewed By: bgamari, thomie
    
    Differential Revision: https://phabricator.haskell.org/D902
    
    (cherry picked from commit 326989ed06e6ad52d1cc2307be19d21b66b95813)


>---------------------------------------------------------------

3690f03563d552899f267dc8d3254c7b66574634
 docs/users_guide/ffi-chap.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/ffi-chap.xml b/docs/users_guide/ffi-chap.xml
index e7d5a0c..ab099b2 100644
--- a/docs/users_guide/ffi-chap.xml
+++ b/docs/users_guide/ffi-chap.xml
@@ -110,7 +110,7 @@ OK:
 
 <programlisting>
 foreign import ccall interruptible
-   "sleep" :: CUint -> IO CUint
+   "sleep" sleepBlock :: CUint -> IO CUint
 </programlisting>
 
           <literal>interruptible</literal> behaves exactly as



More information about the ghc-commits mailing list