From 995c4ddd4872aff338c5022af4ffb94020ef225d Mon Sep 17 00:00:00 2001 From: Alessandro Rubini <rubini@gnudd.com> Date: Thu, 7 Nov 2013 07:51:40 +0100 Subject: [PATCH] softpll: fix build warnings Signed-off-by: Alessandro Rubini <rubini@gnudd.com> --- softpll/softpll_ng.h | 2 ++ softpll/spll_common.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/softpll/softpll_ng.h b/softpll/softpll_ng.h index 74b65e9..eff5b95 100644 --- a/softpll/softpll_ng.h +++ b/softpll/softpll_ng.h @@ -114,6 +114,8 @@ const char *spll_get_aux_status_string(int channel); /* Returns how many time the PLL has de-locked since last call of spll_init() */ int spll_get_delock_count(); +void spll_show_stats(void); + /* Sets VCXO tuning DAC corresponding to output (out_channel) to a given value */ void spll_set_dac(int out_channel, int value); diff --git a/softpll/spll_common.c b/softpll/spll_common.c index e46b0e7..8cb66ae 100644 --- a/softpll/spll_common.c +++ b/softpll/spll_common.c @@ -9,7 +9,7 @@ /* spll_common.c - common data structures and functions used by the SoftPLL */ - +#include <string.h> #include "spll_defs.h" #include "spll_common.h" -- GitLab