Changeset 8f6b7b5 in rtems


Ignore:
Timestamp:
Oct 11, 2009, 10:37:38 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
a3a9a2d
Parents:
a4506973
Message:

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

  • posix/src/alarm.c: If 0 seconds do not insert timer.
  • rtems/src/regionextend.c: Eliminate warning. Use default else.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra4506973 r8f6b7b5  
     12009-10-11      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * posix/src/alarm.c: If 0 seconds do not insert timer.
     4        * rtems/src/regionextend.c: Eliminate warning.  Use default else.
     5
    162009-10-11      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/posix/src/alarm.c

    ra4506973 r8f6b7b5  
    7272  }
    7373
    74   _Watchdog_Insert_seconds( the_timer, seconds );
     74  if ( seconds )
     75    _Watchdog_Insert_seconds( the_timer, seconds );
    7576
    7677  return remaining;
  • cpukit/rtems/src/regionextend.c

    ra4506973 r8f6b7b5  
    7878        } else if ( heap_status == HEAP_EXTEND_ERROR ) {
    7979          return_status = RTEMS_INVALID_ADDRESS;
    80         } else if ( heap_status ==  HEAP_EXTEND_NOT_IMPLEMENTED ) {
     80        } else /* if ( heap_status ==  HEAP_EXTEND_NOT_IMPLEMENTED ) */ {
    8181          return_status = RTEMS_NOT_IMPLEMENTED;
    8282        }
Note: See TracChangeset for help on using the changeset viewer.