Messages in this thread | | | Date | Tue, 17 Jan 2006 21:03:45 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: Suggested janitor task - remove __init/__exit from function prototypes |
| |
>> >Some function prototypes (in both .h and .c files) specify attributes >> >like __init and __exit in the prototype. gcc (at least at 3.3.3) uses >> >the last such attribute that is actually specified, without issuing a >> >warning. >> >> How does gcc 2.95 handle it, requiring __init in both spots? > >gcc 3.2 is now required for mainline kernel. > Sure, but I asked because I maintain one piece of code (ttyrpld) that should compile for both 2.4 and 2.6. OTOH, I could use it to make people convert to 2.6 ;-)
Jan Engelhardt -- - 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/
| |