Changeset abe5612 in rtems for testsuites/support


Ignore:
Timestamp:
Nov 4, 2011, 9:55:04 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
39eabe0
Parents:
1e0f63b5
Message:

2011-11-04 Sebastian Huber <sebastian.huber@…>

  • support/src/test_support.c: Avoid magic numbers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/src/test_support.c

    r1e0f63b5 rabe5612  
    5555  do {
    5656    result = rtems_workspace_allocate(
    57       info.Free.largest-16,
     57      info.Free.largest - HEAP_BLOCK_HEADER_SIZE,
    5858      &temp
    5959    );
     
    7373  size = malloc_free_space();
    7474  do {
    75     temp = malloc( size-16 );
     75    temp = malloc( size - HEAP_BLOCK_HEADER_SIZE );
    7676    if (!temp)
    7777      perror("Unable to allocate from workspace");
Note: See TracChangeset for help on using the changeset viewer.