svn commit: r46068 - head/en_US.ISO8859-1/books/fdp-primer/docbook-markup

Benedict Reuschling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: bcr
Date: Sat Dec  6 18:24:35 2014
New Revision: 46068
URL: https://svnweb.freebsd.org/changeset/doc/46068

Log:
  Change the "hello world" examples so that they return 0.
  I realize that this is not a C programming primer, but
  we can at least try to be correct here. :-)

Modified:
  head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml

Modified: head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml	Sat Dec  6 18:14:32 2014	(r46067)
+++ head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml	Sat Dec  6 18:24:35 2014	(r46068)
@@ -1104,6 +1104,7 @@ int
 main(void)
 {
     printf("hello, world\n");
+    return 0;
 }<tag class="endtag">programlisting</tag></programlisting>
 
 	<para>Notice how the angle brackets in the
@@ -1120,6 +1121,7 @@ int
 main(void)
 {
     printf("hello, world\n");
+    return 0;
 }</programlisting>
       </example>
     </sect2>
@@ -1150,6 +1152,7 @@ int <tag class="emptytag">co xml:id="co-
 main(void)
 {
     printf("hello, world\n"); <tag class="emptytag">co xml:id="co-ex-printf"</tag>
+    return 0;
 }<tag class="endtag">programlisting</tag>
 
 <tag class="starttag">calloutlist</tag>
@@ -1178,6 +1181,7 @@ int <co xml:id="co-ex-return"/>
 main(void)
 {
     printf("hello, world\n"); <co xml:id="co-ex-printf"/>
+    return 0;
 }</programlisting>
 
 	<calloutlist>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.