Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH] In-kernel module loader 5/7 | Date | Thu, 19 Sep 2002 08:07:32 +1000 |
| |
In message <20020918074310.GA1539@werewolf.able.es> you write: > Would not be worthy to do something like > > #define MODULE_INIT_DEFAULT \ > static int init(void) { return o;} \ > module_init(init) > ... > > so you just can add: > > MODULE_INIT_DEFAULT; > MODULE_EXIT_DEFAULT;
Hmmm... I didn't do that because I want people to *think* about init and exit issues, and because most modules *do* need some initialization.
Cheers, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |