From 6cf7f317463799ca6751b2f686074cb943060b35 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Mon, 23 Mar 2020 10:47:56 +0100 Subject: [PATCH] =?UTF-8?q?cpuplugd:=20Remove=20redundant=20declaration=20?= =?UTF-8?q?of=20=E2=80=98debug=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes cpuplugd.h:157:12: warning: redundant redeclaration of ‘debug’ [-Wredundant-decls] 157 | extern int debug; /* is verbose specified? */ | ^~~~~ cpuplugd.h:155:12: note: previous declaration of ‘debug’ was here 155 | extern int debug; | ^~~~~ Reviewed-by: Philipp Rudo Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- cpuplugd/cpuplugd.h | 1 - 1 file changed, 1 deletion(-) diff --git a/cpuplugd/cpuplugd.h b/cpuplugd/cpuplugd.h index f773ce8b..93a87a03 100644 --- a/cpuplugd/cpuplugd.h +++ b/cpuplugd/cpuplugd.h @@ -152,7 +152,6 @@ struct symbol_names { }; extern int foreground; -extern int debug; extern char *configfile; extern int debug; /* is verbose specified? */ extern int memory;