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/mtdev-matching.c | |
| parent | d9f084c9384f99d3589cf51f8503b7aee4e9666c (diff) | |
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/mtdev-matching.c')
| -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 @@ | |||
| 31 | #include <time.h> | 31 | #include <time.h> |
| 32 | 32 | ||
| 33 | #define ITS 4000000 | 33 | #define ITS 4000000 |
| 34 | const int n1 = 4; | 34 | static const int n1 = 4; |
| 35 | const int n2 = 4; | 35 | static const int n2 = 4; |
| 36 | 36 | ||
| 37 | static void test1() | 37 | static void test1() |
| 38 | { | 38 | { |
