openbsd-ports/mbone/vic/patches/patch-ntp-time_h
naddy 9759e5be25 - Regen patches.
- Honor CC, CFLAGS.
- Make this compile with gcc3.
2002-10-06 22:28:49 +00:00

13 lines
443 B
Plaintext

$OpenBSD: patch-ntp-time_h,v 1.1 2002/10/06 22:28:49 naddy Exp $
--- ntp-time.h.orig Wed Feb 18 19:03:39 1998
+++ ntp-time.h Sun Oct 6 23:05:29 2002
@@ -55,7 +55,7 @@ inline u_int usec2ntp(u_int usec)
/*
* Number of seconds between 1-Jan-1900 and 1-Jan-1970
*/
-#define GETTIMEOFDAY_TO_NTP_OFFSET 2208988800
+#define GETTIMEOFDAY_TO_NTP_OFFSET (22089888 * 100)
/*
* Return a 64-bit ntp timestamp (UTC time relative to Jan 1, 1970).