[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b9df5fa10911180212h5d74e640g859e7cebe952689@mail.gmail.com>
Date: Wed, 18 Nov 2009 16:12:06 +0600
From: Rakib Mullick <rakib.mullick@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kbuild@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Michal Marek <mmarek@...e.cz>
Subject: [PATCH] kconfig: Add missing prototype
Patch named 'kbuild-generate-modulesbuiltin.patch' introduce a new
function 'fprintf2', without previous prototype declared. This patch adds
this missing prototype.
When building defconfig on i386 - we were hit by the following warning:
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2451:
scripts/kconfig/confdata.c:676: warning: no previous prototype for 'fprintf2'
Signed-off-by: Rakib Mullick <rakib.mullick@...il.com>
---
--- linus/scripts/kconfig/lkc.h 2009-11-18 16:37:46.000000000 +0600
+++ rakib/scripts/kconfig/lkc.h 2009-11-18 17:03:19.000000000 +0600
@@ -79,6 +79,7 @@ char *conf_get_default_confname(void);
void sym_set_change_count(int count);
void sym_add_change_count(int count);
void conf_set_all_new_symbols(enum conf_def_mode mode);
+int fprintf2(FILE *f1, FILE *f2, const char *fmt, ...);
/* kconfig_load.c */
void kconfig_load(void);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists