Changeset d0061287 in rtems


Ignore:
Timestamp:
Mar 5, 2015, 9:11:23 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6fd5b4e
Parents:
5155069
git-author:
Sebastian Huber <sebastian.huber@…> (03/05/15 09:11:23)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/05/15 10:23:10)
Message:

tests: Fix warnings

Location:
testsuites
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spcache01/init.c

    r5155069 rd0061287  
    4747{
    4848  if (rtems_cache_get_data_line_size() > 0) {
    49     rtems_interrupt_lock lock;
     49    RTEMS_INTERRUPT_LOCK_DECLARE(, lock)
    5050    rtems_interrupt_lock_context lock_context;
    5151    volatile int *vdata = &data[0];
     
    174174static void test_timing(void)
    175175{
    176   rtems_interrupt_lock lock;
     176  RTEMS_INTERRUPT_LOCK_DECLARE(, lock)
    177177  rtems_interrupt_lock_context lock_context;
    178178  size_t data_size = sizeof(data);
  • testsuites/sptests/spnsext01/init.c

    r5155069 rd0061287  
    2424{
    2525  rtems_status_code sc = RTEMS_SUCCESSFUL;
    26   rtems_interrupt_lock lock;
     26  RTEMS_INTERRUPT_LOCK_DECLARE(, lock)
    2727  rtems_interrupt_lock_context lock_context;
    2828  rtems_interval t0 = 0;
  • testsuites/tmtests/tmcontext01/init.c

    r5155069 rd0061287  
    140140static void test_by_function_level(int fl, bool dirty)
    141141{
    142   rtems_interrupt_lock lock;
     142  RTEMS_INTERRUPT_LOCK_DECLARE(, lock)
    143143  rtems_interrupt_lock_context lock_context;
    144144  int s;
Note: See TracChangeset for help on using the changeset viewer.