diff options
Diffstat (limited to 'testsuites/libtests/dl02')
-rw-r--r-- | testsuites/libtests/dl02/dl-o1.c | 7 | ||||
-rw-r--r-- | testsuites/libtests/dl02/dl-o2.c | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/testsuites/libtests/dl02/dl-o1.c b/testsuites/libtests/dl02/dl-o1.c index ff5a853c33..a4355d6e37 100644 --- a/testsuites/libtests/dl02/dl-o1.c +++ b/testsuites/libtests/dl02/dl-o1.c @@ -6,12 +6,13 @@ * http://www.rtems.org/license/LICENSE. */ -#include <stdio.h> -#include <stdlib.h> +#include "dl-o2.h" #include <dlfcn.h> -#include "dl-o2.h" +#include <rtems/test.h> + +#define printf(...) rtems_printf(&rtems_test_printer, __VA_ARGS__); typedef int (*func1_t)(int argc, const char* argv[]); diff --git a/testsuites/libtests/dl02/dl-o2.c b/testsuites/libtests/dl02/dl-o2.c index 43a337a1c0..4c1a918dea 100644 --- a/testsuites/libtests/dl02/dl-o2.c +++ b/testsuites/libtests/dl02/dl-o2.c @@ -6,10 +6,12 @@ * http://www.rtems.org/license/LICENSE. */ -#include <stdio.h> - #include "dl-o2.h" +#include <rtems/test.h> + +#define printf(...) rtems_printf(&rtems_test_printer, __VA_ARGS__); + int dl_o2_func1 (int argc, char* argv[]) { int arg; |