summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
diff options
context:
space:
mode:
authorAlexander Guy <alexander@cvs.openbsd.org>2004-07-10 22:24:21 +0000
committerAlexander Guy <alexander@cvs.openbsd.org>2004-07-10 22:24:21 +0000
commitbbfc4505025c53f6e0fe0c93141d8220ee5815bf (patch)
tree6d012b199531e9b28c42884fd2c07699234190f6 /usr.sbin/ntpd/ntpd.h
parent746f89e525345c5acba71424e1175af4d1e2b5a8 (diff)
short fixed point <-> double conversion routines; ok henning@
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r--usr.sbin/ntpd/ntpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index 43b5327ff8b..edbb2fb4810 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.21 2004/07/10 18:42:51 henning Exp $ */
+/* $OpenBSD: ntpd.h,v 1.22 2004/07/10 22:24:20 alexander Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -212,3 +212,5 @@ double gettime(void);
void d_to_tv(double, struct timeval *);
double lfp_to_d(struct l_fixedpt);
struct l_fixedpt d_to_lfp(double);
+double sfp_to_d(struct s_fixedpt);
+struct s_fixedpt d_to_sfp(double);