summaryrefslogtreecommitdiff
path: root/init/version.c
diff options
context:
space:
mode:
authorDaniel Guilak <guilak@linux.vnet.ibm.com>2008-07-25 12:45:49 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 21:53:28 +0400
commit277e2c695907a70b316a31769cd891dc4d43b7f3 (patch)
tree418a7f991b04ad816c9d9bccae61992451a9479a /init/version.c
parent4500d067eeb3d00679335d9cf5c6536e79cd3ef4 (diff)
downloadlinux-277e2c695907a70b316a31769cd891dc4d43b7f3.tar.xz
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>
Diffstat (limited to 'init/version.c')
-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 @@
#define version(a) Version_ ## a
#define version_string(a) version(a)
+extern int version_string(LINUX_VERSION_CODE);
int version_string(LINUX_VERSION_CODE);
struct uts_namespace init_uts_ns = {