summaryrefslogblamecommitdiffstats
path: root/cpukit/libcsupport/src/_calloc_r.c
blob: 98753f347f005ab21bc806ab56337e28ba4bfda5 (plain) (tree)





























                                                           
/*
 *  _calloc_r Implementation
 *
 *  COPYRIGHT (c) 1989-2007.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#ifdef RTEMS_NEWLIB
#include <sys/reent.h>
#include <stdlib.h>

void *_calloc_r(
  struct _reent *ignored,
  size_t         elements,
  size_t         size
)
{
  return calloc( elements, size );
}
#endif