timevar: don't declare getrusage if we don't use it

This fails on MinGW.
Reported by Simon Sobisch.
http://lists.gnu.org/archive/html/bug-bison/2018-09/msg00058.html

* lib/timevar.c: Don't provide default prototypes for functions
we don't use.
This commit is contained in:
Akim Demaille
2018-09-22 11:12:54 +02:00
parent 9dfd46a5d5
commit a990213582
2 changed files with 10 additions and 11 deletions

1
THANKS
View File

@@ -146,6 +146,7 @@ Sebastian Setzer sebastian.setzer.ext@siemens.com
Sebastien Fricker sebastien.fricker@gmail.com
Sergei Steshenko sergstesh@yahoo.com
Shura debil_urod@ngs.ru
Simon Sobisch simonsobisch@web.de
Stefano Lattarini stefano.lattarini@gmail.com
Stephen Cameron stephenmcameron@gmail.com
Steve Murphy murf@parsetree.com