summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2017-08-22 11:12:13 +0200
committerHenrik Rydberg <rydberg@bitmath.org>2017-11-29 22:15:52 +0100
commit5f9caa26b81155feede6ff71c9b14fa0e8980fbd (patch)
tree1ac9c68477e7746f84a5fc6a798b585a40d9193f
parentd9f084c9384f99d3589cf51f8503b7aee4e9666c (diff)
downloadmtdev-git-5f9caa26b81155feede6ff71c9b14fa0e8980fbd.tar.gz
mtdev-matching.c: declare global variables static
n1 and n2 are only locally used and can thus be static. Signed-off-by: Martin Kepplinger <martink@posteo.de>
-rw-r--r--test/mtdev-matching.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mtdev-matching.c b/test/mtdev-matching.c
index 799429f..0f3f6ea 100644
--- a/test/mtdev-matching.c
+++ b/test/mtdev-matching.c
@@ -31,8 +31,8 @@
#include <time.h>
#define ITS 4000000
-const int n1 = 4;
-const int n2 = 4;
+static const int n1 = 4;
+static const int n2 = 4;
static void test1()
{