diff options
author | Daniel Guilak <guilak@linux.vnet.ibm.com> | 2008-07-25 04:45:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 13:53:28 -0400 |
commit | 277e2c695907a70b316a31769cd891dc4d43b7f3 (patch) | |
tree | 418a7f991b04ad816c9d9bccae61992451a9479a | |
parent | 4500d067eeb3d00679335d9cf5c6536e79cd3ef4 (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.c | 1 |
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 | ||
19 | extern int version_string(LINUX_VERSION_CODE); | ||
19 | int version_string(LINUX_VERSION_CODE); | 20 | int version_string(LINUX_VERSION_CODE); |
20 | 21 | ||
21 | struct uts_namespace init_uts_ns = { | 22 | struct uts_namespace init_uts_ns = { |