[project @ 2003-01-13 13:39:34 by simonpj]
authorsimonpj <unknown>
Mon, 13 Jan 2003 13:39:34 +0000 (13:39 +0000)
committersimonpj <unknown>
Mon, 13 Jan 2003 13:39:34 +0000 (13:39 +0000)
wibble

ghc/docs/users_guide/ffi-chap.sgml

index d3658e6..c61e967 100644 (file)
@@ -273,7 +273,7 @@ It is also possible, according the FFI specification, to put the
 <option>-&num;include</option> option in the foreign import 
 declaration itself:
 <programlisting>
-  foreign import "#include foo.h f" f :: Int -> IO Int
+  foreign import "foo.h f" f :: Int -> IO Int
 </programlisting>
 When compiling this module, GHC will generate a C file that includes
 the specified <option>-&num;include</option>.  However, GHC