From patchwork Mon Dec 17 14:37:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wang yanqing X-Patchwork-Id: 1887371 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E44A53FCD5 for ; Mon, 17 Dec 2012 14:38:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753160Ab2LQOiA (ORCPT ); Mon, 17 Dec 2012 09:38:00 -0500 Received: from mail-da0-f46.google.com ([209.85.210.46]:37253 "EHLO mail-da0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078Ab2LQOhs (ORCPT ); Mon, 17 Dec 2012 09:37:48 -0500 Received: by mail-da0-f46.google.com with SMTP id p5so2854353dak.19 for ; Mon, 17 Dec 2012 06:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; bh=QTqBku2/brPmhAqpz2rjPfQRabwlgP3MDkvurwroaq0=; b=GVoqDcuqN+vpyqiJxfoyJaPx6evS7gh2TUC96MIyJY5JW2DHiivIa/Z87pAgSokBVb rMq8dVj6eSZYaCj5vRh1t21XpPvFPlYj7N9A///EXYztHH6tiqtIAlVBd4i8UDPW9mfr QkDJye9+KuwhxyzbhTSxyJvWYa23SwtQEut1ObhuGi9I56QXq0hFJzg7+RxZy1mqUctH rJeejn68ouOToZ5L+Wbuh+gtJEGhKHPNVt6LnoK6wiA5TOQohhjzqBCJ9eNDYWKXpbEK lSgRJOFUso6QaLGJblRv2rDPScUTddf81SQLL+JprVH2diSfC6P98YK6P0prrkvIetYd c5gA== Received: by 10.68.232.101 with SMTP id tn5mr42908082pbc.125.1355755064428; Mon, 17 Dec 2012 06:37:44 -0800 (PST) Received: from udknight.localhost ([218.66.137.4]) by mx.google.com with ESMTPS id pv8sm8294818pbc.26.2012.12.17.06.37.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Dec 2012 06:37:43 -0800 (PST) Received: from udknight.localhost (udknight.localhost [127.0.0.1]) by udknight.localhost (8.14.4/8.14.4) with ESMTP id qBHEbt75017016; Mon, 17 Dec 2012 22:37:55 +0800 Received: (from root@localhost) by udknight.localhost (8.14.4/8.14.4/Submit) id qBHEbpII017012; Mon, 17 Dec 2012 22:37:51 +0800 Date: Mon, 17 Dec 2012 22:37:51 +0800 From: Wang YanQing To: mmarek@suse.cz Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, rdunlap@xenotime.net, bp@alien8.de, yann.morin.1998@free.fr, sakiwit@gmail.com, lacombar@gmail.com, lucas.demarchi@profusion.mobi, dave@gnu.org, paul.gortmaker@windriver.com, crquan@gmail.com, bpoirier@suse.de Subject: [PATCH] kconfig:lxdialog: remove duplicate code Message-ID: <20121217143751.GA16993@udknight> Mail-Followup-To: Wang YanQing , mmarek@suse.cz, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, rdunlap@xenotime.net, bp@alien8.de, yann.morin.1998@free.fr, sakiwit@gmail.com, lacombar@gmail.com, lucas.demarchi@profusion.mobi, dave@gnu.org, paul.gortmaker@windriver.com, crquan@gmail.com, bpoirier@suse.de MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org dialog.h has two line the same below: extern char dialog_input_result[]; This patch remove one of them. Signed-off-by: Wang YanQing Reviewed-by: "Yann E. MORIN" Tested-by: "Yann E. MORIN" --- scripts/kconfig/lxdialog/dialog.h | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kconfig/lxdialog/dialog.h b/scripts/kconfig/lxdialog/dialog.h index ee17a52..307022a 100644 --- a/scripts/kconfig/lxdialog/dialog.h +++ b/scripts/kconfig/lxdialog/dialog.h @@ -221,7 +221,6 @@ int dialog_menu(const char *title, const char *prompt, const void *selected, int *s_scroll); int dialog_checklist(const char *title, const char *prompt, int height, int width, int list_height); -extern char dialog_input_result[]; int dialog_inputbox(const char *title, const char *prompt, int height, int width, const char *init);