On Tue, 11 Oct 2011 15:10:09 +0530
Suresh Jayaraman <[email protected]> wrote:
> I bumped into the GLOBAL_EXTERN macro in the cifs code. I'm not sure I
> understand the purpose of this. Can someone explain why we need this
> instead of simply using "extern"?
>
I've never been quite sure what that's all about either. I think the
idea was to allow you to put global declarations in an include file but
then have only one .c file actually do them?
Seems like there was a patch to remove it a few years ago, but Steve
never merged it for some reason...
In any case, I agree with akpm's thoughts on the matter:
https://lkml.org/lkml/2008/11/14/367
--
Jeff Layton <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html