Re: [PATCH] kconfig: Add missing prototype

From: Rakib Mullick
Date: Wed Nov 18 2009 - 05:53:06 EST


On 11/18/09, Michal Marek <mmarek@xxxxxxx> wrote:
>
> Hi Rakib,
>
> thanks for the fix, but I already posted a new, simplified version that
> doesn't use the fprintf2() thing at all:
> http://patchwork.kernel.org/patch/50131/
>
Hi Michal,

Sorry I couldn't pick that up. Maybe it's not in the current -mm tree.
Isn't it? Does your simplified version removes the use of fprintf2()?

Thanks,
Rakib
>
> Michal
>
>
>
> > 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/