From 62119d21da8c7893cecbbf57c1478dcbabb63370 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 15 Nov 2017 07:55:43 +0100 Subject: dl01, dl02, dl05: Fix unresolved printf symbol The link time wrap of printf leads to unresolved symbols in the loadable modules. This resulted in infinite loops and test timeouts. Use rtems_printf() for output. Update #3199. --- testsuites/libtests/dl01/dl-o1.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'testsuites/libtests/dl01') diff --git a/testsuites/libtests/dl01/dl-o1.c b/testsuites/libtests/dl01/dl-o1.c index 6e7bb8a07c..a47beb1d51 100644 --- a/testsuites/libtests/dl01/dl-o1.c +++ b/testsuites/libtests/dl01/dl-o1.c @@ -6,14 +6,13 @@ * http://www.rtems.org/license/LICENSE. */ -#include -#include - /** * Hello World as a loadable module. */ -#include +#include + +#define printf(...) rtems_printf(&rtems_test_printer, __VA_ARGS__); /* * Yes a decl in the source. This is a modules main and I could not find which -- cgit v1.2.3