[mythtv-users] Re: *completely OT* tuesday morning funny...

Preston Crow pc-mythtv04 at crowcastle.net
Tue Mar 23 12:45:44 EST 2004

On Tue, 2004-03-23 at 12:28, steve at nexusuk.org wrote:
> Actually, AFAIK 'int main(void)' is fine if you don't care about your 
> command line parameters - ANSI C only requires that main() return an int 
> (so 'void main(void)' isn't allowed).

Yup, that's one way of avoiding warnings about ignoring the parameters.

The real bug in the code is the lack of a newline in the printf().


More information about the mythtv-users mailing list