source: rtems/cpukit/libcsupport/src/no_libc.c @ 8b08935

4.104.114.95
Last change on this file since 8b08935 was 8b08935, checked in by Joel Sherrill <joel.sherrill@…>, on 08/05/08 at 16:51:45

2008-08-05 Joel Sherrill <joel.sherrill@…>

PR 537/bsps

  • libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c, libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate vestiges of ticks_per_timeslice controlling newlib reentrancy. The parameter was ignored in libc_init().
  • Property mode set to 100644
File size: 872 bytes
RevLine 
[07a3253d]1/*
[ac7d5ef0]2 *  This file contains stubs for the reentrancy hooks when
3 *  an unknown C library is used.
4 *
[08311cc3]5 *  COPYRIGHT (c) 1989-1999.
[ac7d5ef0]6 *  On-Line Applications Research Corporation (OAR).
7 *
[98e4ebf5]8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
[0eae36c7]10 *  http://www.rtems.com/license/LICENSE.
[ac7d5ef0]11 *
12 *  $Id$
13 */
14
[9c49db4]15#if HAVE_CONFIG_H
16#include "config.h"
17#endif
[ac7d5ef0]18
19#include <rtems.h>
[07a3253d]20#if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)
[ac7d5ef0]21
[3ba74c73]22#include <rtems/libcsupport.h>
[ac7d5ef0]23
24#include <stdlib.h>             /* for free() */
25
[8b08935]26void libc_init(void)
[07a3253d]27)
[ac7d5ef0]28{
29}
30
31void libc_suspend_main(void)
32{
33}
34
35
[07a3253d]36void libc_global_exit(
[83c5fc1]37  uint32_t   code
[07a3253d]38)
[ac7d5ef0]39{
40}
41
[07a3253d]42void _exit(
43  int status
44)
[ac7d5ef0]45{
46}
47
[0c35efe]48#else
49
50/* remove ANSI errors.
51 *  A program must contain at least one external-declaration
52 *  (X3.159-1989 p.82,L3).
53 */
54void no_libc_dummy_function( void )
55{
56}
57
[ac7d5ef0]58#endif
Note: See TracBrowser for help on using the repository browser.