Revert my previous change.
To quote form the standard: "reaching the } that terminates the main function returns a value of 0." - 5.1.2.2.3 Program termination in 2ISO/IEC 9899:2012 Pointed out by: kib
This commit is contained in:
parent
647bbf1d27
commit
94cbef681c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46069
1 changed files with 0 additions and 4 deletions
|
@ -1104,7 +1104,6 @@ int
|
|||
main(void)
|
||||
{
|
||||
printf("hello, world\n");
|
||||
return 0;
|
||||
}<tag class="endtag">programlisting</tag></programlisting>
|
||||
|
||||
<para>Notice how the angle brackets in the
|
||||
|
@ -1121,7 +1120,6 @@ int
|
|||
main(void)
|
||||
{
|
||||
printf("hello, world\n");
|
||||
return 0;
|
||||
}</programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
|
@ -1152,7 +1150,6 @@ int <tag class="emptytag">co xml:id="co-ex-return"</tag>
|
|||
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>
|
||||
|
@ -1181,7 +1178,6 @@ int <co xml:id="co-ex-return"/>
|
|||
main(void)
|
||||
{
|
||||
printf("hello, world\n"); <co xml:id="co-ex-printf"/>
|
||||
return 0;
|
||||
}</programlisting>
|
||||
|
||||
<calloutlist>
|
||||
|
|
Loading…
Reference in a new issue