timevar: get rid of a useless macro

* lib/timevar.h (timevar_report): Rename as...
(timevar_enabled): this.
* lib/timevar.c (TIMEVAR_ENABLE): Remove.
This commit is contained in:
Akim Demaille
2018-09-22 10:59:57 +02:00
parent 984d8cc72c
commit 9dfd46a5d5
3 changed files with 11 additions and 12 deletions

View File

@@ -117,6 +117,7 @@ void timevar_get (timevar_id_t, struct timevar_time_def *);
void timevar_print (FILE *);
extern int timevar_report;
/* Set to to nonzero to enable timing variables. */
extern int timevar_enabled;
#endif /* ! _TIMEVAR_H */