aboutsummaryrefslogtreecommitdiff
path: root/client/time_linux.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-29 17:01:19 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-29 17:01:19 +0200
commit1c7c0bd747c839fb1e449e98cec942894821addf (patch)
tree01ac940d42dcfc767afa191efd7ecbd0ab73dcc5 /client/time_linux.c
parent59802547c336d61aa7e950414a3f44180e211974 (diff)
`make format`
Diffstat (limited to 'client/time_linux.c')
-rw-r--r--client/time_linux.c4
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];