atom feed6 messages in org.freebsd.freebsd-hackersRe: 'warning: function declaration is...
FromSent OnAttachments
Jonathan MiniSep 7, 1997 2:06 am 
J WunschSep 7, 1997 2:54 am 
Jonathan MiniSep 7, 1997 2:04 pm 
J WunschSep 7, 1997 3:26 pm 
Wolfgang HelbigSep 8, 1997 2:07 am 
J WunschSep 8, 1997 9:58 am 
Subject:Re: 'warning: function declaration isn't a prototype'
From:J Wunsch (
Date:Sep 7, 1997 2:54:17 am

As Jonathan Mini wrote:

I am getting warnings along the lines of 'function declaration isn't a prototype' every time I declare a function that is void func(); (static or public)

Does anybody know what this warning is trying to tell me?

That you should use prototypes.

extern void func(void);

See also style(9). -- -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)