[LTP] [RFC PATCH 1/8] lib: Fix linking error multiple TCID definitions with -fno-common

Cyril Hrubis chrubis@suse.cz
Wed Apr 15 11:30:38 CEST 2020


Hi!
> +extern const char *TCID;

Do we really need this extern or can we remove it?

>  #endif	/* TST_TEST_H__ */
> diff --git a/lib/tst_test.c b/lib/tst_test.c
> index e502c2c1a..64cd3ac33 100644
> --- a/lib/tst_test.c
> +++ b/lib/tst_test.c
> @@ -32,6 +32,11 @@
>  #include "old_device.h"
>  #include "old_tmpdir.h"

-- 
chrubis@suse.cz


More information about the ltp mailing list