[MODULES]: Don't allow statically declared exports
authorPatrick McHardy <kaber@trash.net>
Fri, 24 Mar 2006 06:07:34 +0000 (22:07 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 24 Mar 2006 23:44:58 +0000 (15:44 -0800)
commita1a8feed1743ec8d2af1dafa7c5321679f0a3e4f
tree6323d9b66be6eb681564a4c82aa262d4bbb3e333
parent4dc6d9cc38cea1004a7f827cf76409ae42231fee
[MODULES]: Don't allow statically declared exports

Add an extern declaration for exported symbols to make the compiler warn
on symbols declared statically.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/module.h