On Thu, Dec 31, 2015 at 10:53 AM, Mark Kettenis <mark.kette...@xs4all.nl> wrote:
>> Date: Thu, 31 Dec 2015 13:18:13 +0100
>> From: Jan Stary <h...@stare.cz>
>>
>> ===> usr.sbin/eeprom
>> cc -O2 -pipe  -Werror-implicit-function-declaration  -c getdate.c
>> /usr/src/usr.sbin/eeprom/getdate.y: In function 'get_date':
>> /usr/src/usr.sbin/eeprom/getdate.y:860: error: implicit declaration of
>> function 'yyparse'
>
> Fallout from -Werror-implicit-function-declaration.
>
> Diff below fixes it.  ok?

Wouldn't it better to have yacc's skeleton.c provide a prototype so
that it's fixed for all .y files?  I see that bison's output includes
an "int yyparse (void);" prototype, so I would expect minimal ports
issues.


Philip Guenther

Reply via email to