Re: Suggested janitor task - remove __init/__exit from functionprototypes

From: Jan Engelhardt
Date: Tue Jan 17 2006 - 11:53:53 EST


>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?


Jan Engelhardt
--
-
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/