From 4e85be6a68e83023a200088167336ead0f8f860d Mon Sep 17 00:00:00 2001 From: stal Date: Sat, 19 Jul 2014 19:18:15 -0700 Subject: declare calculate_sum_sq static inline --- toxav/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxav/codec.c b/toxav/codec.c index ae24a976..4a12ffb2 100644 --- a/toxav/codec.c +++ b/toxav/codec.c @@ -383,7 +383,7 @@ void codec_terminate_session ( CodecState *cs ) free(cs); } -inline float calculate_sum_sq (int16_t *n, uint16_t k) +static inline float calculate_sum_sq (int16_t *n, uint16_t k) { float result = 0; uint16_t i = 0; -- cgit v1.2.3 From cc1466ec09e12c7aeb39690a32affbd4cf3b897b Mon Sep 17 00:00:00 2001 From: stal Date: Sat, 19 Jul 2014 19:29:56 -0700 Subject: remove this too --- toxav/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxav/codec.c b/toxav/codec.c index 4a12ffb2..b7ca2784 100644 --- a/toxav/codec.c +++ b/toxav/codec.c @@ -383,7 +383,7 @@ void codec_terminate_session ( CodecState *cs ) free(cs); } -static inline float calculate_sum_sq (int16_t *n, uint16_t k) +static float calculate_sum_sq (int16_t *n, uint16_t k) { float result = 0; uint16_t i = 0; -- cgit v1.2.3