summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx14
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 14:58:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 14:58:18 +0000
commitea6eb43135fce1bc7f9029d26a683fb00b40109c (patch)
tree26df333f70921aea8640b1195bfb6d3a80919371 /testsuites/psxtests/psx14
parent2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ea6eb43135fce1bc7f9029d26a683fb00b40109c.tar.bz2
2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1460/cpukit * psx14/init.c: Change return type on methods accessing portions of RTEMS Ids to int. This allows -1 to be return on error.
Diffstat (limited to 'testsuites/psxtests/psx14')
-rw-r--r--testsuites/psxtests/psx14/init.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuites/psxtests/psx14/init.c b/testsuites/psxtests/psx14/init.c
index 4504e67dfc..d740cb1255 100644
--- a/testsuites/psxtests/psx14/init.c
+++ b/testsuites/psxtests/psx14/init.c
@@ -14,10 +14,6 @@
#include <rtems.h>
#include "tmacros.h"
-/* HACK: API visibility violation */
-extern uint32_t rtems_object_api_minimum_class(uint32_t api);
-extern unsigned int rtems_object_api_maximum_class(uint32_t api);
-
void *POSIX_Init(
void *argument
)
@@ -48,7 +44,7 @@ void *POSIX_Init(
printf( "rtems_object_get_name returned (%s) for init thread\n", ptr );
/* exercise the POSIX path through some routines */
- printf( "rtems_object_api_minimum_class(OBJECTS_POSIX_API) returned %" PRId32 "\n",
+ printf( "rtems_object_api_minimum_class(OBJECTS_POSIX_API) returned %d\n",
rtems_object_api_minimum_class(OBJECTS_POSIX_API) );
printf( "rtems_object_api_maximum_class(OBJECTS_POSIX_API) returned %d\n",
rtems_object_api_maximum_class(OBJECTS_POSIX_API) );