summaryrefslogtreecommitdiff
path: root/librt/timer_getoverr.c
diff options
context:
space:
mode:
Diffstat (limited to 'librt/timer_getoverr.c')
-rw-r--r--librt/timer_getoverr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/librt/timer_getoverr.c b/librt/timer_getoverr.c
index 7bc483d0f..71006eecd 100644
--- a/librt/timer_getoverr.c
+++ b/librt/timer_getoverr.c
@@ -11,15 +11,16 @@
#ifdef __NR_timer_getoverrun
#define __NR___syscall_timer_getoverrun __NR_timer_getoverrun
-static inline _syscall1(int, __syscall_timer_getoverrun, kernel_timer_t, ktimerid);
+static inline _syscall1(int, __syscall_timer_getoverrun, kernel_timer_t,
+ ktimerid);
/* Get the timer overrun count */
int timer_getoverrun(timer_t timerid)
{
- struct timer *kt = (struct timer *) timerid;
+ struct timer *kt = (struct timer *)timerid;
- /* Get the information from the kernel */
- return __syscall_timer_getoverrun(kt->ktimerid);
+ /* Get the information from the kernel */
+ return __syscall_timer_getoverrun(kt->ktimerid);
}
#endif