From: Daniel Guilak Date: Fri, 25 Jul 2008 08:45:49 +0000 (-0700) Subject: init/version.c: silence sparse warning by declaring the version string X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=277e2c695907a70b316a31769cd891dc4d43b7f3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git init/version.c: silence sparse warning by declaring the version string Signed-off-by: Daniel Guilak Cc: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 = {