Changeset a625ccd in rtems


Ignore:
Timestamp:
Jan 15, 1996, 11:04:50 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6661eaa1
Parents:
c64e4ed4
Message:

Made real body of _Heap_Walk conditional on RTEMS_DEBUG. This is necessary
to be able to build a system without requiring printf.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/src/heap.c

    rc64e4ed4 ra625ccd  
    418418 *  Output parameters: NONE
    419419 */
     420
     421#ifndef RTEMS_DEBUG
     422
     423void _Heap_Walk(
     424  Heap_Control  *the_heap,
     425  int            source,
     426  boolean        do_dump
     427)
     428{
     429}
     430
     431#else
    420432
    421433#include <stdio.h>
     
    523535      abort();
    524536}
     537#endif
  • cpukit/score/src/heap.c

    rc64e4ed4 ra625ccd  
    418418 *  Output parameters: NONE
    419419 */
     420
     421#ifndef RTEMS_DEBUG
     422
     423void _Heap_Walk(
     424  Heap_Control  *the_heap,
     425  int            source,
     426  boolean        do_dump
     427)
     428{
     429}
     430
     431#else
    420432
    421433#include <stdio.h>
     
    523535      abort();
    524536}
     537#endif
Note: See TracChangeset for help on using the changeset viewer.