diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:28:41 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:28:41 +0000 |
commit | ffb45327c079ec3d37af737e161ec9e784de0ebf (patch) | |
tree | 42c903fc1046c44101ef4cf7973c526b337c1d1d /librt/timer_getoverr.c | |
parent | 963e3742bde1a5c52a67844e144f323e5f996ac0 (diff) | |
download | uClibc-alpine-ffb45327c079ec3d37af737e161ec9e784de0ebf.tar.bz2 uClibc-alpine-ffb45327c079ec3d37af737e161ec9e784de0ebf.tar.xz |
STEP 12: synch librt directory
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'librt/timer_getoverr.c')
-rw-r--r-- | librt/timer_getoverr.c | 9 |
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 |