Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a5359ddd authored by Dirk Müller's avatar Dirk Müller Committed by Song Liu
Browse files

lib/raid6/test: fix multiple definition linking error


GCC 10+ defaults to -fno-common, which enforces proper declaration of
external references using "extern". without this change a link would
fail with:

  lib/raid6/test/algos.c:28: multiple definition of `raid6_call';
  lib/raid6/test/test.c:22: first defined here

the pq.h header that is included already includes an extern declaration
so we can just remove the redundant one here.

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarDirk Müller <dmueller@suse.de>
Reviewed-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent daae161f
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment