mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-20 02:01:19 +01:00
22 lines
397 B
C
22 lines
397 B
C
#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 */
|