times: Use modern function definitions

Use the modern ANSI function defition syntax rather than the old K&R
syntax for times.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-10-24 23:03:11 -06:00
parent 3b899d5a8f
commit aec9453fec

View File

@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$");
#define CONVTCK(r) (r.tv_sec * CLK_TCK + r.tv_usec / (1000000 / CLK_TCK))
clock_t
times(tp)
struct tms *tp;
times(struct tms *tp)
{
struct rusage ru;
struct timespec t;