Changeset b84f1fdc in rtems for testsuites/sptests/sp04


Ignore:
Timestamp:
May 10, 2009, 2:39:46 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
072d2a09
Parents:
1055ce20
Message:

2009-05-10 Joel Sherrill <joel.sherrill@…>

  • sp04/system.h, sp04/task1.c, sp04/tswitch.c, sp07/init.c, sp12/init.c, sp13/putbuff.c, sp13/system.h, sp13/task1.c, sp15/init.c, sp16/system.h, sp19/fptask.c, sp25/system.h, sp26/task1.c, sp27/init.c, sp28/init.c, sp29/init.c, sp31/task1.c, sp33/init.c, sp34/changepri.c, sp35/priinv.c, sp37/init.c, sp38/init.c, sp39/init.c, sp41/init.c, sp42/init.c, sp43/init.c, sp44/init.c, sp45/init.c, sp46/init.c, sp47/init.c, sp48/init.c, spfatal03/testcase.h, spfatal05/testcase.h, spfatal06/testcase.h, spfatal_support/system.h, spobjgetnext/init.c, spsize/getint.c, spsize/size.c: Fix warnings.
Location:
testsuites/sptests/sp04
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp04/system.h

    r1055ce20 rb84f1fdc  
    44 *  function in the test set.
    55 *
    6  *  COPYRIGHT (c) 1989-1999.
     6 *  COPYRIGHT (c) 1989-2009.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
     
    7070
    7171struct taskSwitchLog {
    72   int               taskIndex;
     72  unsigned int      taskIndex;
    7373  rtems_time_of_day when;
    7474};
    7575
    7676extern struct taskSwitchLog taskSwitchLog[];
    77 extern int taskSwitchLogIndex;
    78 volatile extern int testsFinished;
     77extern unsigned int taskSwitchLogIndex;
     78extern volatile int testsFinished;
    7979
    8080
  • testsuites/sptests/sp04/task1.c

    r1055ce20 rb84f1fdc  
    99 *  Output parameters:  NONE
    1010 *
    11  *  COPYRIGHT (c) 1989-1999.
     11 *  COPYRIGHT (c) 1989-2009.
    1212 *  On-Line Applications Research Corporation (OAR).
    1313 *
     
    2424showTaskSwitches (void)
    2525{
    26   int i;
    27   int switches = taskSwitchLogIndex;
     26  unsigned int i;
     27  unsigned int switches = taskSwitchLogIndex;
    2828
    2929  for (i = 0 ; i < switches ; i++) {
  • testsuites/sptests/sp04/tswitch.c

    r1055ce20 rb84f1fdc  
    1111 *  Output parameters:  NONE
    1212 *
    13  *  COPYRIGHT (c) 1989-1999.
     13 *  COPYRIGHT (c) 1989-2009.
    1414 *  On-Line Applications Research Corporation (OAR).
    1515 *
     
    2424
    2525struct taskSwitchLog taskSwitchLog[1000];
    26 int taskSwitchLogIndex;
     26unsigned int taskSwitchLogIndex;
    2727volatile int testsFinished;
    2828
Note: See TracChangeset for help on using the changeset viewer.