diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 05:56:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 05:56:15 +0000 |
commit | fdaa86b6f762fe1329e210dfff17780412fcbef4 (patch) | |
tree | 192a517fd121795a8a1fb7a624a34e8ffae8b9c8 /testsuites/psxtests/psx14 | |
parent | 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fdaa86b6f762fe1329e210dfff17780412fcbef4.tar.bz2 |
2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx14/init.c: Add local prototypes for
rtems_object_api_minimum_class, rtems_object_api_maximum_class.
Reflect the prototypes having been missing to printf's.
Diffstat (limited to 'testsuites/psxtests/psx14')
-rw-r--r-- | testsuites/psxtests/psx14/init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx14/init.c b/testsuites/psxtests/psx14/init.c index d740cb1255..4504e67dfc 100644 --- a/testsuites/psxtests/psx14/init.c +++ b/testsuites/psxtests/psx14/init.c @@ -14,6 +14,10 @@ #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 ) @@ -44,7 +48,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 %d\n", + printf( "rtems_object_api_minimum_class(OBJECTS_POSIX_API) returned %" PRId32 "\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) ); |