Commit Graph

1 Commits

Author SHA1 Message Date
Lukas Czerner
bdcc549ca9 Fix build errors on gcc 10
gcc version 10 changed the default from -fcommon to -fno-common and as a
result e2fsprogs unit tests fail because tst_libext2fs.c end up with a
build error.

Fix the problem by creating an extern declaration of said variables in
debugfs.h and just setting them in tst_libext2fs.c without additional
declaration.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
2020-01-31 09:59:11 +01:00