summaryrefslogtreecommitdiffstats
path: root/tests/kasumi/kasumi_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-21 15:50:04 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-21 15:50:04 +0100
commitfb7e6835758d378be9e09a60a98c3fce405f61d2 (patch)
treee52d68a7f02fa5fd9a9811a10a89f9011fc32377 /tests/kasumi/kasumi_test.c
parente7c18dd59f4f91409e8d8854eee2d213165e0746 (diff)
kasumi: Fix build with gcc5 that changed behavior of inline
GCC 5 has changed inline semantics (https://gcc.gnu.org/gcc-5/porting_to.html) and apparently that now fails to link.
Diffstat (limited to 'tests/kasumi/kasumi_test.c')
-rw-r--r--tests/kasumi/kasumi_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kasumi/kasumi_test.c b/tests/kasumi/kasumi_test.c
index 9101407d..a4b1f8d1 100644
--- a/tests/kasumi/kasumi_test.c
+++ b/tests/kasumi/kasumi_test.c
@@ -10,7 +10,7 @@
/* Test vectors are taken from TS 135 202 */
-inline int _compare_mem(uint8_t * x, uint8_t * y, size_t len)
+inline static int _compare_mem(uint8_t * x, uint8_t * y, size_t len)
{
if (0 != memcmp(x, y, len)) {
printf ("X: %s\t", osmo_hexdump_nospc(x, len));