xfs
[Top] [All Lists]

Re: XFS removal of #define STATIC static

To: fdavis@xxxxxxxxx
Subject: Re: XFS removal of #define STATIC static
From: Stephen Lord <lord@xxxxxxx>
Date: 22 Oct 2002 22:09:28 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3DB61153.3010509@xxxxxxxxx>
References: <3DB61153.3010509@xxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 2002-10-22 at 22:02, Frank Davis wrote:
> Hello all,
>     Per a recent email on linux-kernel@xxxxxxxxxxxxxxx, Alan Cox stated 
> that
> #define STATIC static
> 
> is outdated (no longer used). As a result, I've removed references to 
> the outdated macro in all files except for XFS (defined in 
> fs/xfs/linux/xfs_linux.h) within the 2.5.44-ac1 kernel. Would it be 
> possible for the XFS team to also remove this outdated macro? Thanks.

You mean you could not face all 833 of them which are in there ;-)
I can think of better ways to spend an afternoon I have to admit.

The only reason I can think of needing this is for symbol tables
in debuggers - and trying to keep some semblance of the same
code base between Irix and Linux. Not sure if we really have
a debugger setup on linux where being able to turn off static
helps to be honest, does a gdb symbol table include static
functions?

Unless someone is feeling bored and wants to knock up a sed script
I am not sure this will happen, but I don't really have an objection
beyond the above.

Steve



<Prev in Thread] Current Thread [Next in Thread>