Syntax changes to allow K&R compilers
bk: 40252623dhYDNqnQXazVnjN3AZKmTg
extern int step_systime P((double));
extern int adj_systime P((double));
+extern struct tm * ntp2unix_tm P((u_long ntp, int local));
+
#define lfptoa(_fpv, _ndec) mfptoa((_fpv)->l_ui, (_fpv)->l_uf, (_ndec))
#define lfptoms(_fpv, _ndec) mfptoms((_fpv)->l_ui, (_fpv)->l_uf, (_ndec))
#include "ntp_types.h"
#include "ntp_calendar.h"
#include "ntp_stdlib.h"
+#include "ntp_fp.h"
+#if 0
/*
* calmonthtab - days-in-the-month table
*/
NOV
};
-#if 0
void
caljulian(
u_long ntptime,
does so for the unix epoch, i.e. works after 2038.
*/
-struct tm * ntp2unix_tm(u_long ntp, int local);
-
void
caljulian(
u_long ntptime,
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
};
-struct tm * ntp2unix_tm(u_long ntp, int local);
-
char *
humandate(
u_long ntptime