summaryrefslogtreecommitdiff
path: root/cpukit/libtest/t-test-checks-psx.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libtest/t-test-checks-psx.c')
-rw-r--r--cpukit/libtest/t-test-checks-psx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libtest/t-test-checks-psx.c b/cpukit/libtest/t-test-checks-psx.c
index 58e9fb64f5..fe2b375b8f 100644
--- a/cpukit/libtest/t-test-checks-psx.c
+++ b/cpukit/libtest/t-test-checks-psx.c
@@ -1,17 +1,17 @@
-#include <t.h>
+#include <rtems/test.h>
#include <errno.h>
-void T_check_psx_error(int a, const T_check_context *t, int eeno)
+void T_check_psx_error(const T_check_context *t, int a, int eeno)
{
int aeno;
aeno = errno;
- T_check_true(a == -1 && aeno == eeno, t, "%i == -1, %s == %s", a,
+ T_check(t, a == -1 && aeno == eeno, "%i == -1, %s == %s", a,
T_strerror(aeno), T_strerror(eeno));
}
-void T_check_psx_success(int a, const T_check_context *t)
+void T_check_psx_success(const T_check_context *t, int a)
{
- T_check_true(a == 0, t, "%i == 0, %s", a, T_strerror(errno));
+ T_check(t, a == 0, "%i == 0, %s", a, T_strerror(errno));
}