[PATCH] kconfig: Add missing prototype

From: Rakib Mullick
Date: Wed Nov 18 2009 - 05:12:13 EST


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@xxxxxxxxx>
---

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/