summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl02/dl-o1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/dl02/dl-o1.c')
-rw-r--r--testsuites/libtests/dl02/dl-o1.c7
1 files changed, 4 insertions, 3 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[]);