From patchwork Tue Feb 10 06:34:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 438344 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D1E5414017A for ; Tue, 10 Feb 2015 22:23:12 +1100 (AEDT) Received: from localhost ([::1]:39228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL8uN-0002MS-2K for incoming@patchwork.ozlabs.org; Tue, 10 Feb 2015 06:23:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL8sT-0007bi-Mb for qemu-devel@nongnu.org; Tue, 10 Feb 2015 06:21:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YL8sL-0007Ms-7e for qemu-devel@nongnu.org; Tue, 10 Feb 2015 06:21:13 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:50246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL8sL-0007MF-01; Tue, 10 Feb 2015 06:21:05 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id BC9DF418E6; Tue, 10 Feb 2015 14:21:03 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 1F5EA960; Tue, 10 Feb 2015 09:34:48 +0300 (MSK) Received: (nullmailer pid 9423 invoked by uid 1000); Tue, 10 Feb 2015 06:34:43 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Tue, 10 Feb 2015 09:34:33 +0300 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Stefan Weil , Michael Tokarev Subject: [Qemu-devel] [PULL 44/46] stubs: Fix warning caused by missing include statement X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Stefan Weil Warning from the Sparse static analysis tool: stubs/qtest.c:14:6: warning: symbol 'qtest_allowed' was not declared. Should it be static? Add the missing include statement which declares qtest_allowed. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- stubs/qtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/qtest.c b/stubs/qtest.c index e671ed8..dc17594 100644 --- a/stubs/qtest.c +++ b/stubs/qtest.c @@ -8,7 +8,7 @@ * See the COPYING file in the top-level directory. */ -#include "qemu-common.h" +#include "sysemu/qtest.h" /* Needed for qtest_allowed() */ bool qtest_allowed;