diff options
Diffstat (limited to 'ghc/docs/users_guide/ffi-chap.sgml')
-rw-r--r-- | ghc/docs/users_guide/ffi-chap.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/docs/users_guide/ffi-chap.sgml b/ghc/docs/users_guide/ffi-chap.sgml index 0aaeabd8a6..99d21a3cc1 100644 --- a/ghc/docs/users_guide/ffi-chap.sgml +++ b/ghc/docs/users_guide/ffi-chap.sgml @@ -101,7 +101,7 @@ extern HsInt foo(HsInt a0);</programlisting> invoke <literal>foo()</literal> from C, just <literal>#include "Foo_stub.h"</literal> and call <literal>foo()</literal>.</para> - <sect3> + <sect3 id="using-own-main"> <title>Using your own <literal>main()</literal></title> <para>Normally, GHC's runtime system provides a |