summaryrefslogtreecommitdiffstats
path: root/tests/helpers/test_pathnames.c
diff options
context:
space:
mode:
authorSami Kerola2017-03-10 20:56:16 +0100
committerSami Kerola2017-03-17 22:22:26 +0100
commit41427f97d91ab1e533713105034fa7fe57731163 (patch)
tree14aeea2f75b3a3213472d7203086260a44ee23e0 /tests/helpers/test_pathnames.c
parenttests: do not use plain 0 as NULL [smatch scan] (diff)
downloadkernel-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_pathnames.c')
-rw-r--r--tests/helpers/test_pathnames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/test_pathnames.c b/tests/helpers/test_pathnames.c
index d5cdad829..2368641f1 100644
--- a/tests/helpers/test_pathnames.c
+++ b/tests/helpers/test_pathnames.c
@@ -29,7 +29,7 @@ struct hlpPath
#define DEF_HLPPATH(_p) { #_p, _p }
-struct hlpPath paths[] =
+static struct hlpPath paths[] =
{
DEF_HLPPATH(_PATH_DEFPATH),
DEF_HLPPATH(_PATH_DEFPATH_ROOT),