@Olaf The
C99 rationale (yes, I know it's non-normative) say "After issuing the diagnostic, an implementation may choose to assume an implicit declaration and continue translation in order to support existing programs that exploited this feature.". Most implementations do just that. This a question about a common, explicitly-endorsed compiler extension at worst; the code is still primarily C. Besides, that's tangential. The actual question would be exactly the same if the OP had explicitly typed
extern int printf(char*, ...);
.