source: rtems/cpukit/libcsupport/src/_free_r.c @ 92119ed

4.115
Last change on this file since 92119ed was 96c56e23, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/30/09 at 05:15:00

Rework autoconf defines.

  • Property mode set to 100644
File size: 549 bytes
Line 
1/*
2 *  _free_r Implementation
3 *
4 *  COPYRIGHT (c) 1989-2007.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#if defined(RTEMS_NEWLIB) && !defined(HAVE__FREE_R)
19#include <sys/reent.h>
20#include <stdlib.h>
21
22void _free_r(
23  struct _reent *ignored __attribute__((unused)),
24  void          *ptr
25)
26{
27  free( ptr );
28}
29#endif
Note: See TracBrowser for help on using the repository browser.