Re: Suggested janitor task - remove __init/__exit from function prototypes

From: Ismail Donmez
Date: Tue Jan 17 2006 - 12:01:51 EST


SalÄ 17 Ocak 2006 18:55 tarihinde ÅunlarÄ yazmÄÅtÄnÄz:
> >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.

/ismail
-
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/