diff options
Diffstat (limited to 'include/lib/time.h')
-rw-r--r-- | include/lib/time.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/lib/time.h b/include/lib/time.h index 1adf428..809a8a0 100644 --- a/include/lib/time.h +++ b/include/lib/time.h @@ -3,7 +3,9 @@ #include <time.h> -#define TIME(var) struct timespec var;get_time(&var) +#define TIME(var) \ + struct timespec var; \ + get_time(&var) // Difference in Time // Compute the difference between timespec structs |