summaryrefslogtreecommitdiff
path: root/librt/timer_gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'librt/timer_gettime.c')
-rw-r--r--librt/timer_gettime.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/librt/timer_gettime.c b/librt/timer_gettime.c
index 32e35eb05..e8d6d2676 100644
--- a/librt/timer_gettime.c
+++ b/librt/timer_gettime.c
@@ -12,15 +12,16 @@
#ifdef __NR_timer_gettime
#define __NR___syscall_timer_gettime __NR_timer_gettime
-static inline _syscall2(int, __syscall_timer_gettime, kernel_timer_t, ktimerid, void *, value);
+static inline _syscall2(int, __syscall_timer_gettime, kernel_timer_t, ktimerid,
+ void *, value);
/* Get the amount of time left on a timer */
int timer_gettime(timer_t timerid, struct itimerspec *value)
{
- struct timer *kt = (struct timer *) timerid;
+ struct timer *kt = (struct timer *)timerid;
- /* Get timeout from the kernel */
- return __syscall_timer_gettime(kt->ktimerid, value);
+ /* Get timeout from the kernel */
+ return __syscall_timer_gettime(kt->ktimerid, value);
}
#endif