public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Extern variables in *.c files
@ 2002-01-02 18:18 vda
  2002-01-02 19:24 ` Oliver Xymoron
  0 siblings, 1 reply; 11+ messages in thread
From: vda @ 2002-01-02 18:18 UTC (permalink / raw)
  To: linux-kernel

I grepped kernel *.c (not *.h!) files for extern variable definitions.
Much to my surprize, I found ~1500 such defs.

Isn't that bad C code style? What will happen if/when type of variable gets 
changed? (int->long).

I thought external definitions ought to be in *.h files.
Maybe I'm missing something here...
--
vda

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-01-03 23:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-02 18:18 Extern variables in *.c files vda
2002-01-02 19:24 ` Oliver Xymoron
2002-01-02 21:43   ` Andrew Morton
2002-01-02 22:07     ` Momchil Velikov
2002-01-03  7:19       ` Andrew Morton
2002-01-03  7:42         ` H . J . Lu
2002-01-03  7:56           ` Andrew Morton
2002-01-03  8:24             ` Keith Owens
2002-01-03  9:57             ` Russell King
2002-01-04  0:28               ` Extern variables in *.c files (maintainers pls read this) vda
2002-01-03 23:14                 ` Olaf Dietsche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox