From 874297f3bea7761cf05ae26540b7a9e21d4a6e1d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 10:01:03 +0000 Subject: Remove stray white spaces. --- cpukit/posix/src/adjtime.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpukit/posix/src/adjtime.c') diff --git a/cpukit/posix/src/adjtime.c b/cpukit/posix/src/adjtime.c index 12edb63e91..1e06dab608 100644 --- a/cpukit/posix/src/adjtime.c +++ b/cpukit/posix/src/adjtime.c @@ -2,8 +2,8 @@ * adjustime() function - required by NTP * * I am unaware of the history behind the definition of this service - * and don't know if its behavior is covered by any standard. --joel - * + * and don't know if its behavior is covered by any standard. --joel + * * $Id$ */ @@ -21,14 +21,14 @@ static long __adjustment = 0; int adjtime ( struct timeval *delta, struct timeval *olddelta ) -{ +{ struct timespec ts; if ( olddelta ) { olddelta->tv_sec = __adjustment / TOD_MICROSECONDS_PER_SECOND; olddelta->tv_usec = __adjustment / TOD_MICROSECONDS_PER_SECOND; } - + if ( !delta ) return -1; @@ -36,11 +36,11 @@ int adjtime ( struct timeval *delta, struct timeval *olddelta ) /* too small to account for */ if ( __adjustment < _TOD_Microseconds_per_tick ) return 0; - + clock_gettime( CLOCK_REALTIME, &ts ); ts.tv_sec += (__adjustment / TOD_MICROSECONDS_PER_SECOND); - ts.tv_nsec += (__adjustment % TOD_MICROSECONDS_PER_SECOND) * + ts.tv_nsec += (__adjustment % TOD_MICROSECONDS_PER_SECOND) * TOD_NANOSECONDS_PER_MICROSECOND; /* if adjustment is too much positive */ -- cgit v1.2.3