On Sat, Nov 25, 2000 at 11:46:24PM +0100, Andries Brouwer wrote: > > But if the program > > static int a = 0; > > int main() { > /* do something */ > } > > is used as part of a larger program, it has to become > > static int a; > > int do_something() { > a = 0; > ... > } Only if the person doing the change follows this convention, if that happens to be you, not a problem. But in a project like Linux, it's not very likely to happen. It's much better to put a comment above the definition. -- Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] removal of "static foo = 0&qu... James A Sutherland
- Re: [PATCH] removal of "static foo = ... Tim Waugh
- Re: [PATCH] removal of "static fo... James A Sutherland
- Re: [PATCH] removal of "static fo... Tigran Aivazian
- Re: [PATCH] removal of "stat... Philipp Rumpf
- Re: [PATCH] removal of "stat... Peter Samuelson
- Re: [PATCH] removal of "static fo... Michael Meissner
- Re: [PATCH] removal of "static foo = 0&qu... Jeff Garzik
- Re: [PATCH] removal of "static foo = ... Andries Brouwer
- Re: [PATCH] removal of "static fo... Martin Mares
- Re: [PATCH] removal of "static foo = 0&qu... Herbert Xu
- Re: [PATCH] removal of "static foo = 0&qu... Helge Hafting
- Re: [PATCH] removal of "static foo = 0&qu... Albert D. Cahalan
- Re: [PATCH] removal of "static foo = ... Russell King
- Re: [PATCH] removal of "static fo... Albert D. Cahalan
- Re: [PATCH] removal of "stat... Peter Samuelson
- Re: [PATCH] removal of "stat... Russell King
- Re: [PATCH] removal of "static foo = 0" Tigran Aivazian
- Re: [PATCH] removal of "static foo = 0" Andries Brouwer
- Re: [PATCH] removal of "static foo = 0&qu... Georg Nikodym