From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPFOk-0005yi-Ri for qemu-devel@nongnu.org; Sun, 16 Mar 2014 14:02:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPFOk-0002YY-2u for qemu-devel@nongnu.org; Sun, 16 Mar 2014 14:02:58 -0400 From: Stefan Weil Date: Sun, 16 Mar 2014 19:02:52 +0100 Message-Id: <1394992972-23004-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] util: Add 'static' attribute to function implementation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org Cc: Stefan Weil , qemu-devel@nongnu.org The static code analyzer smatch complains because of a missing 'static' attribute: util/module.c:166:6: warning: symbol 'module_load' was not declared. Should it be static? 'static' is used in the forward declaration, but not in the implementation. Add it there, too. Signed-off-by: Stefan Weil --- util/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/module.c b/util/module.c index 863a8a3..214effb 100644 --- a/util/module.c +++ b/util/module.c @@ -163,7 +163,7 @@ out: } #endif -void module_load(module_init_type type) +static void module_load(module_init_type type) { #ifdef CONFIG_MODULES char *fname = NULL; -- 1.7.10.4