diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-29 17:01:19 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-29 17:01:19 +0200 |
commit | 1c7c0bd747c839fb1e449e98cec942894821addf (patch) | |
tree | 01ac940d42dcfc767afa191efd7ecbd0ab73dcc5 /client/time_linux.c | |
parent | 59802547c336d61aa7e950414a3f44180e211974 (diff) |
`make format`
Diffstat (limited to 'client/time_linux.c')
-rw-r--r-- | client/time_linux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/time_linux.c b/client/time_linux.c index 5b72838..f6d50d8 100644 --- a/client/time_linux.c +++ b/client/time_linux.c @@ -10,9 +10,7 @@ unsigned long w2_get_time() { return ((now.tv_sec * 1000) + (now.tv_nsec / 1000000)); } -void w2_timer_start(w2_e_client_timers label) { - g_w2_client_timers[label] = w2_get_time(); -} +void w2_timer_start(w2_e_client_timers label) { g_w2_client_timers[label] = w2_get_time(); } unsigned long w2_timer_end(w2_e_client_timers label) { return w2_get_time() - g_w2_client_timers[label]; |