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 15:58:27 +02:00
parent 9dfd46a5d5
commit a990213582
2 changed files with 10 additions and 11 deletions
+1
View File
@@ -146,6 +146,7 @@ Sebastian Setzer [email protected]
Sebastien Fricker [email protected]
Sergei Steshenko [email protected]
Shura [email protected]
Simon Sobisch [email protected]
Stefano Lattarini [email protected]
Stephen Cameron [email protected]
Steve Murphy [email protected]