From 794fd7e563ca9430a4a29a8e9f1923c07c23a480 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Tue, 28 Jan 2020 18:35:45 +0100 Subject: tests/misc: Drop redundant screenInfo declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC warned about it: ../test/misc.c:36:19: warning: redundant redeclaration of ‘screenInfo’ [-Wredundant-decls] 36 | extern ScreenInfo screenInfo; | ^~~~~~~~~~ In file included from ../test/misc.c:30: ../include/scrnintstr.h:688:29: note: previous declaration of ‘screenInfo’ was here 688 | extern _X_EXPORT ScreenInfo screenInfo; | ^~~~~~~~~~ --- test/misc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') diff --git a/test/misc.c b/test/misc.c index f1f76cccd..a1d9365c3 100644 --- a/test/misc.c +++ b/test/misc.c @@ -33,8 +33,6 @@ #include "tests-common.h" -extern ScreenInfo screenInfo; - static void dix_version_compare(void) { -- cgit v1.2.3