aboutsummaryrefslogtreecommitdiff
path: root/init/version.c
diff options
context:
space:
mode:
authorDaniel Guilak <guilak@linux.vnet.ibm.com>2008-07-25 01:45:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:28 -0700
commit277e2c695907a70b316a31769cd891dc4d43b7f3 (patch)
tree418a7f991b04ad816c9d9bccae61992451a9479a /init/version.c
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>
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 9d17d70ee02..041fd822ce2 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 = {