Fix a typo spotted by Nick Lewycky.
[oota-llvm.git] / docs / LangRef.html
index 80817e28dcc7eb5af8ee28d20ae6589c23e59d4f..5d20a76fdfef40e7b4b0beab012062f1e44b17f9 100644 (file)
@@ -703,7 +703,7 @@ an optional <a href="#linkage">linkage type</a>, an optional
 <a href="#paramattrs">parameter attribute</a> for the return type, a function 
 name, a (possibly empty) argument list (each with optional 
 <a href="#paramattrs">parameter attributes</a>), an optional section, an
-optional alignment, an optional <a href="gc">garbage collector name</a>, an
+optional alignment, an optional <a href="#gc">garbage collector name</a>, an
 opening curly brace, a list of basic blocks, and a closing curly brace.
 
 LLVM function declarations consist of the "<tt>declare</tt>" keyword, an
@@ -712,7 +712,7 @@ optional <a href="#linkage">linkage type</a>, an optional
 <a href="#callingconv">calling convention</a>, a return type, an optional
 <a href="#paramattrs">parameter attribute</a> for the return type, a function 
 name, a possibly empty list of arguments, an optional alignment, and an optional
-<a href="gc">garbage collector name</a>.</p>
+<a href="#gc">garbage collector name</a>.</p>
 
 <p>A function definition contains a list of basic blocks, forming the CFG for
 the function.  Each basic block may optionally start with a label (giving the