• Rusty Russell's avatar
    [PATCH] Delete init/cleanup_module prototypes in obscure places. · 38fe9ed4
    Rusty Russell authored
    A few places pre-declare "int module_init(void);" and "void
    module_cleanup(void);".  Other than being obsolete, this is
    unneccessary (it's in init.h anyway).
    
    There are still about 100 places which still use the
    obsolete-since-2.2 "a function named module_init() magically gets
    called": this change frees us up implement that via a macro.
    38fe9ed4
nwbutton.h 1.24 KB