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:
parent
3b899d5a8f
commit
aec9453fec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user