From patchwork Fri Dec 21 08:33:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 154381 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp646887ljp; Fri, 21 Dec 2018 00:33:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5KxCTYZYussoYNRMCl/3gPSTpzzRn8p5C720GY6KkZJ5XB04wJ1sfKHnSA7FMw4/bQGduf X-Received: by 2002:a63:d904:: with SMTP id r4mr1500380pgg.207.1545381226730; Fri, 21 Dec 2018 00:33:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545381226; cv=none; d=google.com; s=arc-20160816; b=O4RUZojK6JtNgYXg3fkN87w1sKOSModBILqeUmrvRCC+7evWxeZNiUMsDPmoKtaO7L t657CnWlaeznO9k0tGrq0WCdaBk4ClaW+OP/WXkoBDeOVvFypsJByCriA6yzHp6ezTLn T3MFH4Oxm3Tk+z7PQEkTtqjI+kgHOO0z/wWYUiDUcWAO119mwyBTTTcn/vG3h3TvtIpi 6XsgBmJ3wgXRT1Nwlh4bER/nsDVZmt5/4/MxXED8wDoCVxPVODV9s27tLk+jakcNIOLo 7tr0iG0bcn+rBQPQEkKPe6qjQS75LrnUcSD1hwzXhP99nKnGxcEDHiosNB/5eZbTweQP 5hGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=g7sZEau6L6Ouy/B1r4t010I0LvMXXxn2pV3G1cEPXIg=; b=EQ6jNlJpug0MNsNtUP9agQ23CZq6iJdsNf6rFHeATeZXyanV+0D8kM3eKdrFIXF0TA h7Sg4wvW79appZjv8VYebRYdR1e5v5nDYLZDci+LgfQYh4cpcqasilfNGiripF/S5ear LsLRwIKfwprhu1hA8K4V+qV1aXHohXyk9alzQS90t1BIK/qvU38MN5mukKQBL/SbKt+j 7J5V+1eRuVibuRS9xW9BGQn5q0Wsg6L2l5anm8OpNnWNqAzd9KeD0z023elT8e8pBmrN AR3xqETsqm2v95iqfoPo7BNqrwFC/U16ORFn+eWaExrRPDHCPm6m76yDxwhAPOItMpz/ hiWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ecwg+YWN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g69si21241634pfg.225.2018.12.21.00.33.46; Fri, 21 Dec 2018 00:33:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ecwg+YWN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387818AbeLUId3 (ORCPT + 31 others); Fri, 21 Dec 2018 03:33:29 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:38268 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387773AbeLUId2 (ORCPT ); Fri, 21 Dec 2018 03:33:28 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id wBL8XAIB008714; Fri, 21 Dec 2018 17:33:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com wBL8XAIB008714 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1545381193; bh=g7sZEau6L6Ouy/B1r4t010I0LvMXXxn2pV3G1cEPXIg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ecwg+YWNTBIREoqhB8KuLcsbcjMpTOnRu1uuZf/wBfHKU9BuCbOydjg0ccaC6PbjF 8lT31Wzyh9ZZRbLt6CTv4meoz3ccH6CgNBLBO0E1IHIRgtEAYjOg+nVMlND65SyAeD 3TTE6YwomrBrxPCJ23Q8WcIAOXzQpgKI+ODnnOxsPogJEUkcHH5Xoy1VhlJKkpR/nX WHIF6n9Kpbi0eFkyOxWgs94xJy6TZVHryMCBnA+0teYW/nN8xyt6EnDnvr2mxWGoV6 3LqDy1YIss2b8gNZUJsJlsO6oCvSdr2BnBX4igzlIWik6ZRcsqerFZQYWoJBjCe+Aw ltJr/5PsGtE4Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 5/5] kconfig: surround dbg_sym_flags with #ifdef DEBUG to fix gconf warning Date: Fri, 21 Dec 2018 17:33:08 +0900 Message-Id: <1545381188-514-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545381188-514-1-git-send-email-yamada.masahiro@socionext.com> References: <1545381188-514-1-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following warning: no previous prototype for ‘dbg_sym_flags’ [-Wmissing-prototypes] Signed-off-by: Masahiro Yamada --- scripts/kconfig/gconf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index b3d438c..5d4ecf3 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c @@ -75,7 +75,7 @@ static gchar **fill_row(struct menu *menu); static void conf_changed(void); /* Helping/Debugging Functions */ - +#ifdef DEBUG static const char *dbg_sym_flags(int val) { static char buf[256]; @@ -105,6 +105,7 @@ static const char *dbg_sym_flags(int val) return buf; } +#endif static void replace_button_icon(GladeXML *xml, GdkDrawable *window, GtkStyle *style, gchar *btn_name, gchar **xpm)