Received: from louie.udel.edu by huey.udel.edu id aa14619; 22 Mar 94 11:53 EST Received: from jagubox.gsfc.nasa.gov by louie.udel.edu id aa24926; 22 Mar 94 11:48 EST Received: by jagubox.gsfc.nasa.gov (Smail3.1.28.1 #2) id m0pj9dD-000C8UC; Tue, 22 Mar 94 11:48 EST Message-Id: From: Jim Jagielski Subject: Small patch for xntpd 3.3p and A/UX (tickadj) To: Mills@udel.edu Date: Tue, 22 Mar 1994 11:48:42 -0500 (EST) Reply-To: Jim Jagielski In-Reply-To: <9308051324.aa24396@huey.udel.edu> from "Mills@udel.edu" at Aug 5, 93 01:24:24 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1355 This little patch streamlines things a bit for tickadj and A/UX: ----------->8 cut here -------------------------------- *** tickadj.c.orig Mon Mar 14 02:47:28 1994 --- tickadj.c Tue Mar 22 11:41:19 1994 *************** *** 333,342 **** #if defined(SYS_AUX3) || defined(SYS_AUX2) #define X_TICKADJ 0 ! #define X_V 1 ! #define X_TICK 2 #define X_DEF ! static struct nlist nl[4]; #endif #ifdef NeXT --- 333,345 ---- #if defined(SYS_AUX3) || defined(SYS_AUX2) #define X_TICKADJ 0 ! #define X_TICK 1 #define X_DEF ! static struct nlist nl[] = ! { {"tickadj"}, ! {"tick"}, ! {""}, ! }; #endif #ifdef NeXT *************** *** 428,440 **** NULL }; struct stat stbuf; - - #if defined(SYS_AUX3) || defined(SYS_AUX2) - strcpy (nl[X_TICKADJ].n_name, "tickadj"); - strcpy (nl[X_V].n_name, "v"); - strcpy (nl[X_TICK].n_name, "tick"); - nl[3].n_name[0] = '\0'; - #endif for (kname = kernels; *kname != NULL; kname++) { if (stat(*kname, &stbuf) == -1) --- 431,436 ---- ----------->8 cut here -------------------------------- -- #include Jim Jagielski | jim@jagubox.gsfc.nasa.gov | "Dead or alive, you're coming with me." NASA/GSFC, Code 734.4 | RoboCop Greenbelt, MD 20771 |