Index: fusl/src/unistd/ualarm.c |
diff --git a/fusl/src/unistd/ualarm.c b/fusl/src/unistd/ualarm.c |
index 855504bca42c743580fbbb3425a3176736411c7a..7150632d2799a660d60853b334cbc70640d817b5 100644 |
--- a/fusl/src/unistd/ualarm.c |
+++ b/fusl/src/unistd/ualarm.c |
@@ -2,12 +2,9 @@ |
#include <unistd.h> |
#include <sys/time.h> |
-unsigned ualarm(unsigned value, unsigned interval) |
-{ |
- struct itimerval it = { |
- .it_interval.tv_usec = interval, |
- .it_value.tv_usec = value |
- }; |
- setitimer(ITIMER_REAL, &it, &it); |
- return it.it_value.tv_sec*1000000 + it.it_value.tv_usec; |
+unsigned ualarm(unsigned value, unsigned interval) { |
+ struct itimerval it = {.it_interval.tv_usec = interval, |
+ .it_value.tv_usec = value}; |
+ setitimer(ITIMER_REAL, &it, &it); |
+ return it.it_value.tv_sec * 1000000 + it.it_value.tv_usec; |
} |