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 /misc-utils/test_uuidd.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 'misc-utils/test_uuidd.c')
-rw-r--r-- | misc-utils/test_uuidd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/test_uuidd.c b/misc-utils/test_uuidd.c index d590f9632..66a9f2d3b 100644 --- a/misc-utils/test_uuidd.c +++ b/misc-utils/test_uuidd.c @@ -41,10 +41,10 @@ #define LOG(level,args) if (loglev >= level) { fprintf args; } -size_t nprocesses = 4; -size_t nthreads = 4; -size_t nobjects = 4096; -size_t loglev = 1; +static size_t nprocesses = 4; +static size_t nthreads = 4; +static size_t nobjects = 4096; +static size_t loglev = 1; struct processentry { pid_t pid; |