diff options
author | Martin Kepplinger <martink@posteo.de> | 2017-08-22 11:12:13 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@bitmath.org> | 2017-11-29 22:15:52 +0100 |
commit | 5f9caa26b81155feede6ff71c9b14fa0e8980fbd (patch) | |
tree | 1ac9c68477e7746f84a5fc6a798b585a40d9193f /test | |
parent | d9f084c9384f99d3589cf51f8503b7aee4e9666c (diff) | |
download | mtdev-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>
Diffstat (limited to 'test')
-rw-r--r-- | test/mtdev-matching.c | 4 |
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() { |