Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Code Conversion

2005-04-08 by Chuck Hackett

> From: Paul Curtis [mailto:plc@rowley.co.uk]
> 
> I believe it's the difference between
> 
> void foo();
> 
> And
> 
> void foo(void);
> 
> The first is a function that takes unspecified parameters and the second
> is a function that takes no parameters.
> 
> -- Paul.
> ....

That makes sense except that there are many functions declared similar to "void
foo()" that do not generate warnings.  I'm at a loss to see what makes these
particular two different.

Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.