summaryrefslogtreecommitdiff
path: root/librt/timer_gettime.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-09 22:14:34 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-09 22:14:34 +0000
commit87ad91cafbef5c328ed83c7c5bf56df6a15cadcf (patch)
tree7d41edb274c31a27cf4e908f9480e09d36b69307 /librt/timer_gettime.c
parent59b10970c522f8cee255a08b4faf93c8e3addd57 (diff)
run through Lindent
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