summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/lib/tstotod.c
blob: a78aea1c2ed94b4a0da7fed0d694b8a5f4ec1ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifdef	ELIMINATE
/* tstotod.c,v 3.1 1993/07/06 01:08:48 jbj Exp
 * tstotod - compute calendar time given an NTP timestamp
 */
#include <stdio.h>

#include "ntp_fp.h"
#include "ntp_calendar.h"
#include "ntp_stdlib.h"

void
tstotod(ts, tod)
	l_fp *ts;
	struct calendar *tod;
{
	register U_LONG cyclesecs;

	cyclesecs = ts.l_ui - MAR_1900;		/* bump forward to March 1900 */

}
#endif	/* ELIMINATE */
OpenPOWER on IntegriCloud