Skip to content

Commit 277e2c6

Browse files
Daniel Guilaktorvalds
authored andcommitted
init/version.c: silence sparse warning by declaring the version string
Signed-off-by: Daniel Guilak <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 4500d06 commit 277e2c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

init/version.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#define version(a) Version_ ## a
1717
#define version_string(a) version(a)
1818

19+
extern int version_string(LINUX_VERSION_CODE);
1920
int version_string(LINUX_VERSION_CODE);
2021

2122
struct uts_namespace init_uts_ns = {

0 commit comments

Comments
 (0)