source: rtems/cpukit/score/src/pheapfree.c @ da42259

4.104.115
Last change on this file since da42259 was 484a769, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/04/08 at 17:46:39

Convert to "bool".

  • Property mode set to 100644
File size: 610 bytes
Line 
1/**
2 *  COPYRIGHT (c) 1989-2007.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/system.h>
17#include <rtems/score/protectedheap.h>
18
19bool _Protected_heap_Free(
20  Heap_Control *the_heap,
21  void         *start_address
22)
23{
24  bool    status;
25
26  _RTEMS_Lock_allocator();
27    status = _Heap_Free( the_heap, start_address );
28  _RTEMS_Unlock_allocator();
29  return status;
30}
Note: See TracBrowser for help on using the repository browser.