aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Guilak <guilak@linux.vnet.ibm.com>2008-07-25 04:45:49 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 13:53:28 -0400
commit277e2c695907a70b316a31769cd891dc4d43b7f3 (patch)
tree418a7f991b04ad816c9d9bccae61992451a9479a
parent4500d067eeb3d00679335d9cf5c6536e79cd3ef4 (diff)
init/version.c: silence sparse warning by declaring the version string
Signed-off-by: Daniel Guilak <daniel@danielguilak.com> Cc: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--init/version.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/version.c b/init/version.c
index 9d17d70ee02d..041fd822ce24 100644
--- a/init/version.c
+++ b/init/version.c
@@ -16,6 +16,7 @@
16#define version(a) Version_ ## a 16#define version(a) Version_ ## a
17#define version_string(a) version(a) 17#define version_string(a) version(a)
18 18
19extern int version_string(LINUX_VERSION_CODE);
19int version_string(LINUX_VERSION_CODE); 20int version_string(LINUX_VERSION_CODE);
20 21
21struct uts_namespace init_uts_ns = { 22struct uts_namespace init_uts_ns = {