Josh Triplett <[email protected]> wrote: > arch/x86/kernel/irqinit.c defines an __init function init_IRQ, called > from init/main.c. No header file prototypes init_IRQ, because > init/main.c tends to directly define prototypes for init functions it > calls, rather than including appropriate headers. So, add a prototype > of init_IRQ to arch/x86/kernel/irqinit.c right above the definition, to > satisfy gcc (-Wmissing-prototypes) and Sparse (-Wdecl).
Rather, you should put a declaration for it in a header file. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

