]> gcc.gnu.org Git - gcc.git/commit
c-decl.c (finish_function): Don't treat 'main' specially unless flag_hosted.
authorJoseph Myers <jsm28@cam.ac.uk>
Thu, 27 Jul 2000 19:51:41 +0000 (13:51 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 27 Jul 2000 19:51:41 +0000 (13:51 -0600)
commit98be7846ad96810018215b97a636fa7777a8478f
tree30aa08c7b5cf92c2a814de3b61e98151d8891475
parentc1445f3dec950ad12b0c9bb6570950134fbc61fa
c-decl.c (finish_function): Don't treat 'main' specially unless flag_hosted.

* c-decl.c (finish_function): Don't treat 'main' specially unless
flag_hosted.  In C99 mode, return 0 from 'main' unless
DEFAULT_MAIN_RETURN is otherwise defined.

From-SVN: r35300
gcc/ChangeLog
gcc/c-decl.c
This page took 0.060871 seconds and 5 git commands to generate.