summaryrefslogtreecommitdiffstats
path: root/tests/conv
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-10-08 12:04:42 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-08 14:00:24 +0200
commit73ae7a9ca0b9f2bbf4a6800ed8e9aa9bbd99d597 (patch)
tree2fb7a6dad1e1a45b6adba12356869af8df7272b1 /tests/conv
parent42e0dc0cc3d20b4c222151dc7a9b5e63dabac734 (diff)
tests: Fix warnings
This fixes warnings that are raised by missing includes, missing casts, missing return statements, using printf %lu with uint64_t, and unused symbols.
Diffstat (limited to 'tests/conv')
-rw-r--r--tests/conv/conv_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/conv/conv_test.c b/tests/conv/conv_test.c
index ab651d43..d9440f95 100644
--- a/tests/conv/conv_test.c
+++ b/tests/conv/conv_test.c
@@ -347,6 +347,8 @@ ubit_to_sbit(sbit_t *dst, ubit_t *src, int n)
dst[i] = src[i] ? -127 : 127;
}
+static void sbit_to_ubit(ubit_t *dst, sbit_t *src, int n) __attribute__((unused));
+
static void
sbit_to_ubit(ubit_t *dst, sbit_t *src, int n)
{