aboutsummaryrefslogtreecommitdiff
path: root/libntp/fptoms.c
diff options
context:
space:
mode:
Diffstat (limited to 'libntp/fptoms.c')
-rw-r--r--libntp/fptoms.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/libntp/fptoms.c b/libntp/fptoms.c
deleted file mode 100644
index 0bfca5556160..000000000000
--- a/libntp/fptoms.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * fptoms - return an asciized s_fp number in milliseconds
- */
-#include "ntp_fp.h"
-
-char *
-fptoms(
- s_fp fpv,
- short ndec
- )
-{
- u_fp plusfp;
- int neg;
-
- if (fpv < 0) {
- plusfp = (u_fp)(-fpv);
- neg = 1;
- } else {
- plusfp = (u_fp)fpv;
- neg = 0;
- }
-
- return dofptoa(plusfp, neg, ndec, 1);
-}