[PATCH] kconfig: Add missing prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux