diff options
Diffstat (limited to 'testsuites/sptests/spfatal_support/consume_sems.c')
-rw-r--r-- | testsuites/sptests/spfatal_support/consume_sems.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuites/sptests/spfatal_support/consume_sems.c b/testsuites/sptests/spfatal_support/consume_sems.c index 5024eb666e..adb1901046 100644 --- a/testsuites/sptests/spfatal_support/consume_sems.c +++ b/testsuites/sptests/spfatal_support/consume_sems.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2010. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -13,6 +13,13 @@ #include <rtems.h> +/* forward declarations to avoid warnings */ +rtems_device_driver consume_semaphores_initialize( + rtems_device_major_number major __attribute__((unused)), + rtems_device_minor_number minor __attribute__((unused)), + void *pargp __attribute__((unused)) +); + #define MAXIMUM 20 rtems_id Semaphores[MAXIMUM]; |