timevar: remove useless 'extern' for prototypes

* lib/timevar.h, lib/timevar.c: here.
This commit is contained in:
Akim Demaille
2018-09-22 10:24:57 +02:00
parent c8da23c372
commit ab3ec56ffe
2 changed files with 10 additions and 10 deletions

View File

@@ -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.

View File

@@ -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;