summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-11-16 00:20:39 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2018-12-19 18:40:03 +0000
commitb26003963e82805bfd73b13315ae85d478605383 (patch)
treea54c4b111f2fee0c146ba9c4eb204dabf599bc0b /tests
parent036012b5080e15b1e6579e5422c9d1bc8c63e2fb (diff)
add/clean big-endian packed structs (struct_endianess.py)
This is 1:1 the result of doing cd libosmocore ./contrib/struct_endianess.py git commit -a Running struct_endianess.py again should result in no changes. That means we could include such a check in the gerrit verification job now. Change-Id: Ia0b99d76932aeb03e93bd0c62d3bf025dec5f9d2
Diffstat (limited to 'tests')
-rw-r--r--tests/endian/endian_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/endian/endian_test.c b/tests/endian/endian_test.c
index 8737e7a4..dd0697a9 100644
--- a/tests/endian/endian_test.c
+++ b/tests/endian/endian_test.c
@@ -1,5 +1,6 @@
#include <osmocom/core/byteswap.h>
#include <osmocom/core/utils.h>
+#include <osmocom/core/endian.h>
int main(int argc, char **argv)
{