When building for ARM I get this: tcore.c:212: error: redefinition of 'TST_TOTAL' tcore.c:30: error: previous definition of 'TST_TOTAL' was here
Move definition to x86 specific part, as we also have one in the non-x86 part. Signed-off-by: Robert Schwebel <[email protected]> --- testcases/misc/tcore_patch_test_suites/tcore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: ltp-full-20090131/testcases/misc/tcore_patch_test_suites/tcore.c =================================================================== --- ltp-full-20090131.orig/testcases/misc/tcore_patch_test_suites/tcore.c +++ ltp-full-20090131/testcases/misc/tcore_patch_test_suites/tcore.c @@ -27,7 +27,6 @@ extern int Tst_count; /* extern char *TESTDIR; /* temporary dir created by tst_tmpdir() */ /* Global Variables */ char *TCID = "tcore"; /* test program identifier. */ -int TST_TOTAL = 1; /* total number of tests in this file. */ #if defined __i386__ || defined(__x86_64__) #include <stdio.h> @@ -38,6 +37,8 @@ int TST_TOTAL = 1; /* #define BUFFER_SIZE 16 +int TST_TOTAL = 1; /* total number of tests in this file. */ + /* Circular buffer of integers. */ struct prodcons -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
