mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 00:03:03 +00:00
timevar: remove useless 'extern' for prototypes
* lib/timevar.h, lib/timevar.c: here.
This commit is contained in:
@@ -50,13 +50,13 @@ struct tms
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined HAVE_DECL_GETRUSAGE && !HAVE_DECL_GETRUSAGE
|
#if defined HAVE_DECL_GETRUSAGE && !HAVE_DECL_GETRUSAGE
|
||||||
extern int getrusage (int, struct rusage *);
|
int getrusage (int, struct rusage *);
|
||||||
#endif
|
#endif
|
||||||
#if defined HAVE_DECL_TIMES && !HAVE_DECL_TIMES
|
#if defined HAVE_DECL_TIMES && !HAVE_DECL_TIMES
|
||||||
extern clock_t times (struct tms *);
|
clock_t times (struct tms *);
|
||||||
#endif
|
#endif
|
||||||
#if defined HAVE_DECL_CLOCK && !HAVE_DECL_CLOCK
|
#if defined HAVE_DECL_CLOCK && !HAVE_DECL_CLOCK
|
||||||
extern clock_t clock (void);
|
clock_t clock (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Calculation of scale factor to convert ticks to microseconds.
|
/* Calculation of scale factor to convert ticks to microseconds.
|
||||||
|
|||||||
@@ -75,13 +75,13 @@ typedef enum
|
|||||||
timevar_id_t;
|
timevar_id_t;
|
||||||
#undef DEFTIMEVAR
|
#undef DEFTIMEVAR
|
||||||
|
|
||||||
extern void timevar_init (void);
|
void timevar_init (void);
|
||||||
extern void timevar_push (timevar_id_t);
|
void timevar_push (timevar_id_t);
|
||||||
extern void timevar_pop (timevar_id_t);
|
void timevar_pop (timevar_id_t);
|
||||||
extern void timevar_start (timevar_id_t);
|
void timevar_start (timevar_id_t);
|
||||||
extern void timevar_stop (timevar_id_t);
|
void timevar_stop (timevar_id_t);
|
||||||
extern void timevar_get (timevar_id_t, struct timevar_time_def *);
|
void timevar_get (timevar_id_t, struct timevar_time_def *);
|
||||||
extern void timevar_print (FILE *);
|
void timevar_print (FILE *);
|
||||||
|
|
||||||
extern int timevar_report;
|
extern int timevar_report;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user