summaryrefslogtreecommitdiffstats
path: root/init/version.c
diff options
context:
space:
mode:
authorDaniel Guilak <guilak@linux.vnet.ibm.com>2008-07-25 10:45:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 19:53:28 +0200
commit277e2c695907a70b316a31769cd891dc4d43b7f3 (patch)
tree418a7f991b04ad816c9d9bccae61992451a9479a /init/version.c
parentinit.h: remove obsolete content (diff)
downloadlinux-277e2c695907a70b316a31769cd891dc4d43b7f3.tar.xz
linux-277e2c695907a70b316a31769cd891dc4d43b7f3.zip
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 = {