Add PlowShowTime prototype when NO_RUSAGE isn't defined

While there, change function's type from (implicit) int to void.
This commit is contained in:
Alessandro De Laurenzis 2022-12-28 18:20:43 +01:00 committed by Tim Edwards
parent 6d99e5326e
commit a4e65afae9
2 changed files with 5 additions and 0 deletions

View File

@ -2249,6 +2249,7 @@ plowYankCreate()
}
#ifndef NO_RUSAGE
void
plowShowTime(t1, t2, nqueued, nprocessed, nmoved)
struct rusage *t1, *t2;
int nqueued, nprocessed, nmoved;

View File

@ -280,6 +280,10 @@ extern void plowTechShow();
extern void plowUpdateLabels();
extern void plowYankCreate();
#ifndef NO_RUSAGE
extern void plowShowTime();
#endif
/* ------------------------- Debugging flags -------------------------- */
/*