adjkerntz.c (50476) | adjkerntz.c (79747) |
---|---|
1/* 2 * Copyright (C) 1993-1998 by Andrey A. Chernov, Moscow, Russia. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27#ifndef lint 28static const char copyright[] = 29"@(#)Copyright (C) 1993-1996 by Andrey A. Chernov, Moscow, Russia.\n\ 30 All rights reserved.\n"; 31#endif /* not lint */ 32 33#ifndef lint 34static const char rcsid[] = | 1/* 2 * Copyright (C) 1993-1998 by Andrey A. Chernov, Moscow, Russia. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27#ifndef lint 28static const char copyright[] = 29"@(#)Copyright (C) 1993-1996 by Andrey A. Chernov, Moscow, Russia.\n\ 30 All rights reserved.\n"; 31#endif /* not lint */ 32 33#ifndef lint 34static const char rcsid[] = |
35 "$FreeBSD: head/sbin/adjkerntz/adjkerntz.c 50476 1999-08-28 00:22:10Z peter $"; | 35 "$FreeBSD: head/sbin/adjkerntz/adjkerntz.c 79747 2001-07-15 05:41:57Z dd $"; |
36#endif /* not lint */ 37 38/* 39 * Andrey A. Chernov <ache@astral.msk.su> Dec 20 1993 40 * 41 * Fix kernel time value if machine run wall CMOS clock 42 * (and /etc/wall_cmos_clock file present) 43 * using zoneinfo rules or direct TZ environment variable set. --- 16 unchanged lines hidden (view full) --- 60/*#define DEBUG*/ 61 62#define True (1) 63#define False (0) 64#define Unknown (-1) 65 66#define REPORT_PERIOD (30*60) 67 | 36#endif /* not lint */ 37 38/* 39 * Andrey A. Chernov <ache@astral.msk.su> Dec 20 1993 40 * 41 * Fix kernel time value if machine run wall CMOS clock 42 * (and /etc/wall_cmos_clock file present) 43 * using zoneinfo rules or direct TZ environment variable set. --- 16 unchanged lines hidden (view full) --- 60/*#define DEBUG*/ 61 62#define True (1) 63#define False (0) 64#define Unknown (-1) 65 66#define REPORT_PERIOD (30*60) 67 |
68static void fake __P((int)); |
|
68static void usage __P((void)); 69 | 69static void usage __P((void)); 70 |
70void fake() {} | 71static void 72fake(unused) 73 int unused __unused; 74{ |
71 | 75 |
76 /* Do nothing. */ 77} 78 |
|
72int main(argc, argv) 73 int argc; 74 char **argv; 75{ 76 struct tm local; 77 struct timeval tv, *stv; 78 struct timezone tz, *stz; 79 int kern_offset, wall_clock, disrtcset; --- 301 unchanged lines hidden --- | 79int main(argc, argv) 80 int argc; 81 char **argv; 82{ 83 struct tm local; 84 struct timeval tv, *stv; 85 struct timezone tz, *stz; 86 int kern_offset, wall_clock, disrtcset; --- 301 unchanged lines hidden --- |