From 5f9caa26b81155feede6ff71c9b14fa0e8980fbd Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Tue, 22 Aug 2017 11:12:13 +0200 Subject: mtdev-matching.c: declare global variables static n1 and n2 are only locally used and can thus be static. Signed-off-by: Martin Kepplinger --- test/mtdev-matching.c | 4 ++-- 1 file 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 #define ITS 4000000 -const int n1 = 4; -const int n2 = 4; +static const int n1 = 4; +static const int n2 = 4; static void test1() { -- cgit v1.2.3