📄 187
字号:
Replied: Tue, 24 Mar 1998 22:41:25 -0500Replied: "Marc Brett <Marc.Brett@waii.com> "Received: from mail.eecis.udel.edu by whimsy.udel.edu id aa04698; 24 Mar 1998 07:42 ESTReceived: by diamond.waii.com id GAA24507; Tue, 24 Mar 1998 06:41:53 -0600 sender Marc.Brett@waii.com for Received: from mail.wg.waii.com(137.144.128.17) user <Marc.Brett@waii.com> by diamond.waii.com via smap (3.2) id xma024432; Tue, 24 Mar 98 06:40:47 -0600Received: from merlin.london.waii.com (merlin.london.waii.com [136.250.33.1]) by mail1.wg.waii.com (8.8.7/8.8.7) with ESMTP id GAA64378; Tue, 24 Mar 1998 06:40:42 -0600Received: from rgs0.london.waii.com (rgs0.london.waii.com [136.250.40.10]) by merlin.london.waii.com (8.8.4/8.8.4) with SMTP id MAA25506; Tue, 24 Mar 1998 12:40:40 GMTReceived: by rgs0.london.waii.com (951211.SGI.8.6.12.PATCH1502/920502.SGI) id MAA06805; Tue, 24 Mar 1998 12:40:37 GMTFrom: Marc Brett <Marc.Brett@waii.com>Message-Id: <9803241240.ZM6803@rgs0.london.waii.com>Date: Tue, 24 Mar 1998 12:40:35 +0000X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)To: stenn@whimsy.udel.eduSubject: xntp3-5.92d lintCc: Marc.Brett@waii.com, mills@udel.eduMime-Version: 1.0Content-Type: multipart/mixed; boundary="PART-BOUNDARY=.19803241240.ZM6803.london.waii.com"----PART-BOUNDARY=.19803241240.ZM6803.london.waii.comContent-Type: text/plain; charset=us-asciiHarlan,Here are some diffs to suppress AIX 4.2 compiler warnings which show upif you configure with: ./configure --disable-all-clocksxntp3-5.92d seems to be running well for us now on IRIX 5.3, IRIX 6.4,SunOS 4.1.3, AIX 3.2.5, AIX 4.1.0, AIX 4.1.5, AIX 4.2.0.Regards,Marc-- Marc Brett +44 181 560 3160 Western GeophysicalMarc.Brett@waii.com 455 London Road, IsleworthFAX: +44 181 847 5711 Middlesex TW7 5AB UK--PART-BOUNDARY=.19803241240.ZM6803.london.waii.comX-Zm-Content-Name: xntp3-5.92d.diffsContent-Description: TextContent-Type: text/plain ; name="xntp3-5.92d.diffs" ; charset=us-ascii*** refclock_arbiter.c.orig Sun Aug 17 05:30:57 1997--- refclock_arbiter.c Tue Mar 24 12:18:58 1998****************** 436,439 **** } ! #endif--- 436,441 ---- } ! #else /* not (REFCLOCK && ARBITER) */! int refclock_arbiter_bs;! #endif /* not (REFCLOCK && ARBITER) */*** refclock_arc.c.orig Sun Aug 17 07:06:07 1997--- refclock_arc.c Tue Mar 24 12:19:06 1998****************** 1534,1537 **** #endif /* ARCRON_OWN_FILTER */ ! #endif--- 1534,1539 ---- #endif /* ARCRON_OWN_FILTER */ ! #else /* not (REFCLOCK && ARCRON_MSF) */! int refclock_arc_bs;! #endif /* not (REFCLOCK && ARCRON_MSF) */*** refclock_as2201.c.orig Sun Aug 17 05:07:43 1997--- refclock_as2201.c Tue Mar 24 12:19:14 1998****************** 464,467 **** pp->polls++; } ! #endif /* REFCLOCK */--- 464,469 ---- pp->polls++; } ! #else /* not (REFCLOCK && AS2201) */! int refclock_as2201_bs;! #endif /* not (REFCLOCK && AS2201) */*** refclock_atom.c.orig Fri Mar 6 03:07:06 1998--- refclock_atom.c Tue Mar 24 12:19:19 1998****************** 544,547 **** &pp->lastrec, &pp->lastrec, pp->leap); } ! #endif /* ATOM && REFCLOCK */--- 544,549 ---- &pp->lastrec, &pp->lastrec, pp->leap); } ! #else /* not (ATOM && REFCLOCK) */! int refclock_atom_bs;! #endif /* not (ATOM && REFCLOCK) */*** refclock_conf.c.orig Tue Mar 17 23:02:17 1998--- refclock_conf.c Tue Mar 24 12:19:33 1998****************** 5,10 ****--- 5,12 ---- #include <config.h> #endif + #ifdef REFCLOCK+ #include <stdio.h> #include <sys/types.h> ****************** 12,19 **** #include "ntp_refclock.h" #include "ntp_stdlib.h" - #ifdef REFCLOCK- static struct refclock refclock_none = { noentry, noentry, noentry, noentry, noentry, noentry, NOFLAGS };--- 14,19 ----****************** 236,239 **** u_char num_refclock_conf = sizeof(refclock_conf)/sizeof(struct refclock *); ! #endif--- 236,241 ---- u_char num_refclock_conf = sizeof(refclock_conf)/sizeof(struct refclock *); ! #else /* not (REFCLOCK) */! int refclock_conf_bs;! #endif /* not (REFCLOCK) */*** refclock_datum.c.orig Wed Dec 18 00:29:51 1996--- refclock_datum.c Tue Mar 24 12:19:42 1998****************** 868,871 **** #endif }! #endif--- 868,873 ---- #endif }! #else /* not (REFCLOCK && DATUM) */! int refclock_datum_bs;! #endif /* not (REFCLOCK && DATUM) */*** refclock_hpgps.c.orig Sun Aug 17 05:32:17 1997--- refclock_hpgps.c Tue Mar 24 12:19:56 1998****************** 624,627 **** pp->polls++; } ! #endif--- 624,629 ---- pp->polls++; } ! #else /* not (REFCLOCK && HPGPS) */! int refclock_hpgps_bs;! #endif /* not (REFCLOCK && HPGPS) */*** refclock_leitch.c.orig Fri Mar 6 03:07:48 1998--- refclock_leitch.c Tue Mar 24 12:07:27 1998****************** 719,722 **** return(1); } ! #endif--- 719,724 ---- return(1); } ! #else /* not (REFCLOCK && LEITCH) */! int refclock_leitch_bs;! #endif /* not (REFCLOCK && LEITCH) */*** refclock_local.c.orig Tue Jan 21 04:41:04 1997--- refclock_local.c Tue Mar 24 12:20:29 1998****************** 7,12 ****--- 7,13 ---- #include <config.h> #endif + #if defined(REFCLOCK) && defined(LOCAL_CLOCK) #include <stdio.h> #include <ctype.h>****************** 16,23 **** #include "ntp_refclock.h" #include "ntp_stdlib.h" - #if defined(REFCLOCK) && defined(LOCAL_CLOCK)- /* * This is a hack to allow a machine to use its own system clock as a * reference clock, i.e., to free-run using no outside clock discipline--- 17,22 ----****************** 187,190 **** L_CLR(&pp->fudgetime2); } ! #endif /* REFCLOCK */--- 186,191 ---- L_CLR(&pp->fudgetime2); } ! #else /* not (REFCLOCK && LOCAL_CLOCK) */! int refclock_local_bs;! #endif /* not (REFCLOCK && LOCAL_CLOCK) */*** refclock_nmea.c.orig Sun Aug 17 05:17:23 1997--- refclock_nmea.c Tue Mar 24 12:10:16 1998****************** 410,413 **** } return (++tp); }! #endif--- 410,415 ---- } return (++tp); }! #else /* not (REFCLOCK && NMEA) */! int refclock_nmea_bs;! #endif /* not (REFCLOCK && NMEA) */*** refclock_palisade.c.orig Tue Mar 17 22:40:59 1998--- refclock_palisade.c Tue Mar 24 12:11:35 1998****************** 897,900 **** * March 11, 1998: add delay in poll estimation loop */ ! #endif /* REFCLOCK */--- 897,902 ---- * March 11, 1998: add delay in poll estimation loop */ ! #else /* not (REFCLOCK && (PALISADE || CLOCK_PALISADE)) */! int refclock_palisade_bs;! #endif /* not (REFCLOCK && (PALISADE || CLOCK_PALISADE)) */*** refclock_pst.c.orig Sun Aug 17 05:00:36 1997--- refclock_pst.c Tue Mar 24 12:12:50 1998****************** 332,335 **** pp->polls++; } ! #endif--- 332,337 ---- pp->polls++; } ! #else /* not (REFCLOCK && PST) */! int refclock_pst_bs;! #endif /* not (REFCLOCK && PST) */*** refclock_trak.c.orig Sun Aug 17 05:09:44 1997--- refclock_trak.c Tue Mar 24 12:14:15 1998****************** 368,371 **** up->polled = 1; } ! #endif--- 368,373 ---- up->polled = 1; } ! #else /* not (REFCLOCK && TRAK) */! int refclock_track_bs;! #endif /* not (REFCLOCK && TRAK) */*** refclock_true.c.orig Sun Aug 17 05:32:47 1997--- refclock_true.c Tue Mar 24 12:15:17 1998****************** 873,876 **** } #endif ! #endif /*defined(REFCLOCK) && defined(TRUETIME)*/--- 873,878 ---- } #endif ! #else /* not (REFCLOCK && TRUETIME) */! int refclock_true_bs;! #endif /* not (REFCLOCK && TRUETIME) */*** refclock_wwvb.c.orig Tue Mar 3 05:33:49 1998--- refclock_wwvb.c Tue Mar 24 12:16:09 1998****************** 480,483 **** pp->polls++; } ! #endif--- 480,485 ---- pp->polls++; } ! #else /* not (REFCLOCK && WWVB) */! int refclock_wwvb_bs;! #endif /* not (REFCLOCK && WWVB) */--PART-BOUNDARY=.19803241240.ZM6803.london.waii.com--
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -