[LTP] LTP compilation broken with -fno-common

Martin Doucha
2020-04-01T09:55:11Z

On 01. 04. 20 11:39, Cyril Hrubis wrote:
> We cannot move that definition into tst_test.c beacuse that would mean
> that old API test would end up with multiple definitions one in the
> corresponding test and one in the new library library code.

But we can move it a few lines up in tst_main.h so that it gets defined
only together with the default main(), not in every .c file that
includes tst_test.h.

--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic