diff options
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]; |