Diff for /src/usr.sbin/timed/timed/correct.c between versions 1.3 and 1.4

version 1.3, 2003/11/03 19:31:43 version 1.4, 2004/03/13 21:08:38
Line 50  static void adjclock(struct timeval *); Line 50  static void adjclock(struct timeval *);
  * own   * own
  */   */
 void  void
correct(avdelta)correct(long avdelta)
        long avdelta; 
 {  {
         struct hosttbl *htp;          struct hosttbl *htp;
         int corr;          int corr;
Line 109  correct(avdelta) Line 108  correct(avdelta)
   
   
 static void  static void
adjclock(corr)adjclock(struct timeval *corr)
        struct timeval *corr; 
 {  {
         static int passes = 0;          static int passes = 0;
         static int smoother = 0;          static int smoother = 0;
Line 272  adjclock(corr) Line 270  adjclock(corr)
  *      spent in the queue   *      spent in the queue
  */   */
 void  void
adj_msg_time(msg, now)adj_msg_time(struct tsp *msg, struct timeval *now)
        struct tsp *msg; 
        struct timeval *now; 
 {  {
         msg->tsp_time.tv_sec += (now->tv_sec - from_when.tv_sec);          msg->tsp_time.tv_sec += (now->tv_sec - from_when.tv_sec);
         msg->tsp_time.tv_usec += (now->tv_usec - from_when.tv_usec);          msg->tsp_time.tv_usec += (now->tv_usec - from_when.tv_usec);

Removed from v.1.3  
changed lines
  Added in v.1.4