Skip to content

Commit

Permalink
init/version.c: silence sparse warning by declaring the version string
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Daniel Guilak authored and torvalds committed Jul 25, 2008
1 parent 4500d06 commit 277e2c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 277e2c6

Please sign in to comment.