diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 15:49:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 15:49:52 +0000 |
commit | 1de949a8bda2912d663ad3b296fec0f1a9b03c46 (patch) | |
tree | e25cdaccd8695e13d3e58e7b4a091b8920d8a6d6 /cpukit/posix/src/timersettime.c | |
parent | Spaces to tabs. (diff) | |
download | rtems-1de949a8bda2912d663ad3b296fec0f1a9b03c46.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'cpukit/posix/src/timersettime.c')
-rw-r--r-- | cpukit/posix/src/timersettime.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/posix/src/timersettime.c b/cpukit/posix/src/timersettime.c index eb7738a5b9..d7f9176a10 100644 --- a/cpukit/posix/src/timersettime.c +++ b/cpukit/posix/src/timersettime.c @@ -50,7 +50,7 @@ int timer_settime( /* The number of nanoseconds is not correct */ rtems_set_errno_and_return_minus_one( EINVAL ); } - + if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) { rtems_set_errno_and_return_minus_one( EINVAL ); } @@ -62,8 +62,8 @@ int timer_settime( struct timespec now; _TOD_Get( &now ); /* Check for seconds in the past */ - if ( _Timespec_Greater_than( &now, &normalize.it_value ) ) - rtems_set_errno_and_return_minus_one( EINVAL ); + if ( _Timespec_Greater_than( &now, &normalize.it_value ) ) + rtems_set_errno_and_return_minus_one( EINVAL ); _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value ); } @@ -95,8 +95,8 @@ int timer_settime( /* Convert from seconds and nanoseconds to ticks */ ptimer->ticks = _Timespec_To_ticks( &value->it_interval ); initial_period = _Timespec_To_ticks( &normalize.it_value ); - - + + activated = _POSIX_Timer_Insert_helper( &ptimer->Timer, initial_period, |