summaryrefslogtreecommitdiff
path: root/networking/ntpd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-10-25 13:05:15 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-10-25 13:05:15 +0200
commite5897d041d704a40efc8480cb2a72ef6843d0642 (patch)
treeab580bd571a7483dfa00984420a68c8c47ecf7f6 /networking/ntpd.c
parent1f1492bb96e318a36dee940e6d4bec0ef915339f (diff)
downloadbusybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.tar.gz
busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.tar.bz2
busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.zip
suppress a few "unused function" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ntpd.c')
-rw-r--r--networking/ntpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index 48dc1c379..47410c21e 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -504,12 +504,14 @@ static ALWAYS_INLINE double MAXD(double a, double b)
504 return a; 504 return a;
505 return b; 505 return b;
506} 506}
507#if !USING_KERNEL_PLL_LOOP
507static ALWAYS_INLINE double MIND(double a, double b) 508static ALWAYS_INLINE double MIND(double a, double b)
508{ 509{
509 if (a < b) 510 if (a < b)
510 return a; 511 return a;
511 return b; 512 return b;
512} 513}
514#endif
513static NOINLINE double my_SQRT(double X) 515static NOINLINE double my_SQRT(double X)
514{ 516{
515 union { 517 union {