From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YS3ac-0004Oj-IX for qemu-devel@nongnu.org; Sun, 01 Mar 2015 08:07:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YS3ab-0004hj-LX for qemu-devel@nongnu.org; Sun, 01 Mar 2015 08:07:22 -0500 From: Stefan Weil Date: Sun, 1 Mar 2015 14:07:18 +0100 Message-Id: <1425215238-25799-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] disas/cris: Fix warning caused by missing 'static' attribute List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Trivial Cc: "Edgar E. Iglesias" , QEMU Developer , Stefan Weil Warning from the Sparse static analysis tool: disas/cris.c:1218:26: warning: symbol 'cris_cond15s' was not declared. Should it be static? Signed-off-by: Stefan Weil --- disas/cris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disas/cris.c b/disas/cris.c index 9dfb4e3..a034dba 100644 --- a/disas/cris.c +++ b/disas/cris.c @@ -1215,7 +1215,7 @@ cris_cc_strings[] = }; /* Different names and semantics for condition 1111 (0xf). */ -const struct cris_cond15 cris_cond15s[] = +static const struct cris_cond15 cris_cond15s[] = { /* FIXME: In what version did condition "ext" disappear? */ {"ext", cris_ver_v0_3}, -- 1.7.10.4