diff options
author | Sami Kerola | 2017-03-10 20:56:16 +0100 |
---|---|---|
committer | Sami Kerola | 2017-03-17 22:22:26 +0100 |
commit | 41427f97d91ab1e533713105034fa7fe57731163 (patch) | |
tree | 14aeea2f75b3a3213472d7203086260a44ee23e0 /tests/helpers/test_byteswap.c | |
parent | tests: do not use plain 0 as NULL [smatch scan] (diff) | |
download | kernel-qcow2-util-linux-41427f97d91ab1e533713105034fa7fe57731163.tar.gz kernel-qcow2-util-linux-41427f97d91ab1e533713105034fa7fe57731163.tar.xz kernel-qcow2-util-linux-41427f97d91ab1e533713105034fa7fe57731163.zip |
tests: add static keyword where needed [smatch scan]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/helpers/test_byteswap.c')
-rw-r--r-- | tests/helpers/test_byteswap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/helpers/test_byteswap.c b/tests/helpers/test_byteswap.c index 0b996e09b..1b98f7697 100644 --- a/tests/helpers/test_byteswap.c +++ b/tests/helpers/test_byteswap.c @@ -19,7 +19,7 @@ #include "bitops.h" -uint16_t ary16[] = { +static uint16_t ary16[] = { 0x0001, 0x0100, 0x1234, 0x3412, 0xff00, 0x00ff, @@ -28,7 +28,7 @@ uint16_t ary16[] = { 0x0000, 0x0000 }; -uint32_t ary32[] = { +static uint32_t ary32[] = { 0x00000001, 0x01000000, 0x80000000, 0x00000080, 0x12345678, 0x78563412, @@ -38,7 +38,7 @@ uint32_t ary32[] = { 0x00000000, 0x00000000 }; -uint64_t ary64[] = { +static uint64_t ary64[] = { 0x0000000000000001, 0x0100000000000000, 0x8000000000000000, 0x0000000000000080, 0x1234567812345678, 0x7856341278563412, |