------- Comment #6 from rguenth at gcc dot gnu dot org 2010-02-07 14:54 ------- Btw, with -std=c99 -pedantic-errors you will get an error for missing prototypes (not so with -std=c89 or the default, which is -std=gnu89, because as was said C89 allows unprototyped functions).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42990